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

    r124 r129  
    2929    }
    3030
    31     inside=(uint8_t *)jmalloc(tot,"Boundary point list");
     31    inside=(uint8_t *)malloc(tot);
    3232  }
    3333
     
    115115  if (tot)
    116116  {
    117     inside=(uint8_t *)jmalloc(tot,"Boundary point list");
     117    inside=(uint8_t *)malloc(tot);
    118118  } else inside=NULL;
    119119  for (i=0,point_on=data;i<tot-1;i++)
Note: See TracChangeset for help on using the changeset viewer.