On Sun, 17 Nov 2002, Izham Syah Mahrome wrote: > /* > * Help entry exists exists: free and replace it. > */ > if (rnum > 0) { > mudlog(CMP, LVL_BUILDER, TRUE, "free help"); > free_help(); > mudlog(CMP, LVL_BUILDER, TRUE, "help freed"); > mudlog(CMP, LVL_BUILDER, TRUE, "creating new help table: transfering >help table\n"); > mudlog(CMP, LVL_BUILDER, TRUE, "rnum is %d saving %s", rnum, *OLC_HELP >(d)); > help_table[rnum] = *OLC_HELP(d); > mudlog(CMP, LVL_BUILDER, TRUE, "help table CREATED!!\n"); free_help() frees the _entire_ help table. You just want to free that single entry's strings. -- George Greer greerga@circlemud.org -- +---------------------------------------------------------------+ | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html | | Newbie List: http://groups.yahoo.com/group/circle-newbies/ | +---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 06/25/03 PDT