Avoid using strdup so that we can keep track of which specific memory
allocator was used and thus can free the memory appropriately. We were
using delete [] before, but strdup probably does a simple malloc.
Caught by valgrind in Linux.
(No files)
Note:
See TracChangeset
for help on using the changeset viewer.