summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/emap/itemdb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/emap/itemdb.c b/src/emap/itemdb.c
index 63daca0..4c33853 100644
--- a/src/emap/itemdb.c
+++ b/src/emap/itemdb.c
@@ -201,4 +201,6 @@ void edestroy_item_data_pre(struct item_data **selfPtr,
script->free_code(data->takeScript);
if (data->insertScript)
script->free_code(data->insertScript);
+ VECTOR_CLEAR(data->allowedCards);
+ VECTOR_CLEAR(data->allowedAmmo);
}