Ignore:
Timestamp:
Mar 22, 2008, 10:39:25 AM (15 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/readwav.cpp

    r124 r129  
    159159
    160160  data_size=tag.size;
    161   data=(unsigned char *)jmalloc(tag.size,"WAV data");
     161  data=(unsigned char *)malloc(tag.size);
    162162  ERROR(data,"Malloc error");
    163163
Note: See TracChangeset for help on using the changeset viewer.