diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2019-01-19 22:16:59 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2019-01-19 22:16:59 +0200 |
commit | 0efefad3d8ff61355002b828c13a531e15f55978 (patch) | |
tree | 29766aaa7e0f6e4b44ea816f28b2e8de08437f66 /profile.c | |
parent | b51d10b1697c8a95c25ec7b5d9781c4cd780dca4 (diff) | |
download | egawk-0efefad3d8ff61355002b828c13a531e15f55978.tar.gz egawk-0efefad3d8ff61355002b828c13a531e15f55978.tar.bz2 egawk-0efefad3d8ff61355002b828c13a531e15f55978.zip |
Continue fixing memory leaks related to namespaces.
Diffstat (limited to 'profile.c')
-rw-r--r-- | profile.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2033,8 +2033,8 @@ pp_namespace(const char *name, INSTRUCTION *comment) if (strcmp(current_namespace, name) == 0) return; - if (current_namespace != awk_namespace) - efree((void *) current_namespace); + // don't need to free current_namespace, it comes from + // info saved in Op_namespace instructions. current_namespace = name; if (do_profile) |