diff options
-rw-r--r-- | src/gui/npc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/npc.cpp b/src/gui/npc.cpp index 32f0506e..a5089123 100644 --- a/src/gui/npc.cpp +++ b/src/gui/npc.cpp @@ -45,7 +45,7 @@ void add_item(char *name) { } void remove_tail() { - free(items.back()->name); + //free(items.back()->name); free(items.back()); items.pop_back(); } @@ -67,7 +67,7 @@ void parse_items(char *string, short len) { void remove_all_items() { int i; for (i = 0; i < items.size(); i++) { - free(items[i]->name); + //free(items[i]->name); free(items[i]); } items.clear(); |