Once I free all the strings involved in world[i].dir_option[j] (ie. general_description and keyword), is it ok for me to set world[i].dir_option[j] = NULL; Why I ask this is because when I free(world[i].dir_option[j]); The memory is freed, but the exit shows up in autoexit and when you actually go in that direction, it crashes the mud. It works fine if I set it to NULL but I fear I havent really cleared the memory (is this a memory leak here?) Thanks :) -- +---------------------------------------------------------------+ | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html | +---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/06/01 PST