Bug Fix: Fixed major leak with the history system, as well as added a few more memory cleanups to make zmalloc happy.
This commit is contained in:
@@ -63,7 +63,8 @@ void free_list(struct list_data * pList)
|
||||
mudlog(CMP, LVL_GOD, TRUE, "List being freed while not empty.");
|
||||
|
||||
/* Global List for debugging */
|
||||
remove_from_list(pList, global_lists);
|
||||
if (pList != global_lists)
|
||||
remove_from_list(pList, global_lists);
|
||||
|
||||
free(pList);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user