Changeset 19547


Ignore:
Timestamp:
01/10/13 22:36:24 (11 years ago)
Author:
obi
Message:

fix build

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/global.h

    r19546 r19547  
    582582void freeoregexsplit(struct splitstr* tmparray, int len)
    583583{
    584   if(tmparray == NULL) return;
    585  
    586   for(i = 0; i < len; i++)
    587   {
    588     free(tmparray[i].part);
    589     tmparray[i].part = NULL;
    590   }
    591  
    592   free(tmparray);
     584        if(tmparray == NULL) return;
     585        int i = 0;
     586       
     587        for(i = 0; i < len; i++)
     588        {
     589                free(tmparray[i].part);
     590                tmparray[i].part = NULL;
     591        }
     592       
     593        free(tmparray);
    593594}
    594595
Note: See TracChangeset for help on using the changeset viewer.