Ignore:
Timestamp:
Mar 22, 2008, 10:39:25 AM (14 years ago)
Author:
Sam Hocevar
Message:
  • Get rid of jmalloc and replace it with standard malloc. Modern operating systems certainly perform a lot better than this custom implementation, and we have superior tools (eg. valgrind) to debug and profile memory usage without interfering with the code itself.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/imlib/timage.cpp

    r115 r129  
    100100  char st[80];
    101101  sprintf(st,"trans_image::data (%s)",name);
    102   data=(uint8_t *)jmalloc(size,st);
     102  data=(uint8_t *)malloc(size);
    103103#else
    104   data=(uint8_t *)jmalloc(size,"");
     104  data=(uint8_t *)malloc(size);
    105105#endif
    106106  int ww=im->width(),hh=im->height();
Note: See TracChangeset for help on using the changeset viewer.