Subversion Repositories Kolibri OS

Rev

Rev 647 | Rev 6429 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 647 Rev 6410
Line 1032... Line 1032...
1032
static inline void tcc_free(void *ptr)
1032
static inline void tcc_free(void *ptr)
1033
{
1033
{
1034
#ifdef MEM_DEBUG
1034
#ifdef MEM_DEBUG
1035
    mem_cur_size -= malloc_usable_size(ptr);
1035
    mem_cur_size -= malloc_usable_size(ptr);
1036
#endif
1036
#endif
-
 
1037
//2016-04-27 siemargl commented to fix crash temporally. Need to fix
1037
    free(ptr);
1038
//    free(ptr);
1038
}
1039
}
Line 1039... Line 1040...
1039
 
1040
 
1040
static void *tcc_malloc(unsigned long size)
1041
static void *tcc_malloc(unsigned long size)
1041
{
1042
{
Line 10589... Line 10590...
10589
        }
10590
        }
10590
    }
10591
    }
10591
    return optind;
10592
    return optind;
10592
}
10593
}
Line 10593... Line 10594...
10593
 
10594
 
10594
int app_main(int argc, char **argv)
10595
int main(int argc, char **argv)
10595
{
10596
{
10596
    int i;
10597
    int i;
10597
    TCCState *s;
10598
    TCCState *s;
10598
    int nb_objfiles, ret, optind;
10599
    int nb_objfiles, ret, optind;