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/glview.cpp

    r124 r129  
    3333  screen->clear();
    3434  i=argc;
    35   im=(image **)jmalloc(sizeof(image *)*80,"gl_view image");
     35  im=(image **)malloc(sizeof(image *)*80);
    3636  i=1; t=1;
    3737  while (i<argc)
Note: See TracChangeset for help on using the changeset viewer.