From efcbf712b9fbac1881619d4ff5374ac56ae3b1ef Mon Sep 17 00:00:00 2001 From: nishi Date: Tue, 30 Apr 2024 02:15:29 +0000 Subject: [PATCH] uhh git-svn-id: file:///raid/svn-main/nishi-serenade/trunk@86 0f02c867-ac3d-714e-8a88-971ba1f6efcf --- Serenade/interpreter.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Serenade/interpreter.c b/Serenade/interpreter.c index 7850b7d..ee36afc 100644 --- a/Serenade/interpreter.c +++ b/Serenade/interpreter.c @@ -184,6 +184,7 @@ void sn_interpreter_free(struct sn_interpreter* sn) { free(sn->variables[i]->key); if(sn->variables[i]->value != NULL) sn_generic_free(sn, sn->variables[i]->value); free(sn->variables[i]); + sn->variables[i]->value = NULL; } free(sn->variables); for(i = 0; sn->generics[i] != NULL; i++) { -- 2.43.0