summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/map/script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c
index ad239ddcd..269230b38 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -2456,7 +2456,7 @@ struct script_code* parse_script(const char *src,const char *file,int line,int o
CREATE(code,struct script_code,1);
code->script_buf = script_buf;
code->script_size = script_size;
- code->script_vars = NULL;
+ code->script_vars = idb_alloc(DB_OPT_RELEASE_DATA);
return code;
}