diff options
-rw-r--r-- | degesch.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -7649,7 +7649,11 @@ lua_plugin_handle_string_filter_result (struct lua_plugin *self, { lua_State *L = self->L; if (lua_isnil (L, -1)) + { + free (*original); + *original = NULL; return true; + } if (!lua_isstring (L, -1)) FAIL ("must return either a string or nil"); |