diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-11-05 19:04:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-11-05 19:04:26 +0300 |
commit | 886f9947336a61528060e9b26b3ac0a5824873fe (patch) | |
tree | 5f0df92d7b6b64e6900b8f1cc8d364d65c69f157 | |
parent | 0c9b84e5be2f4ada74949f63feadea18d2c16678 (diff) | |
download | evol-hercules-886f9947336a61528060e9b26b3ac0a5824873fe.tar.gz evol-hercules-886f9947336a61528060e9b26b3ac0a5824873fe.tar.bz2 evol-hercules-886f9947336a61528060e9b26b3ac0a5824873fe.tar.xz evol-hercules-886f9947336a61528060e9b26b3ac0a5824873fe.zip |
fix memory usage in l function.
-rw-r--r-- | src/map/script.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c index 0ad7d48..9e72453 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -17,6 +17,6 @@ BUILDIN(l) { // for now not translate and not use format parameters - script_pushstr(st, strdup(script_getstr(st, 2))); + script_pushstr(st, aStrdup(script_getstr(st, 2))); return true; } |