From: nishi Date: Tue, 30 Apr 2024 02:15:29 +0000 (+0000) Subject: uhh X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=efcbf712b9fbac1881619d4ff5374ac56ae3b1ef;p=serenade.git uhh git-svn-id: file:///raid/svn-main/nishi-serenade/trunk@86 0f02c867-ac3d-714e-8a88-971ba1f6efcf --- 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++) {