From: nishi Date: Tue, 30 Apr 2024 03:40:26 +0000 (+0000) Subject: will fix memory thing later X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=5e145d4b3d814b9d86937f6ec10cd204f5b21a2c;p=serenade.git will fix memory thing later git-svn-id: file:///raid/svn-main/nishi-serenade/trunk@94 0f02c867-ac3d-714e-8a88-971ba1f6efcf --- diff --git a/Serenade/parser.c b/Serenade/parser.c index cd52c73..d1dddc3 100644 --- a/Serenade/parser.c +++ b/Serenade/parser.c @@ -240,7 +240,6 @@ void sn_generic_free(struct sn_interpreter* sn, struct sn_generic* g) { } else if(g->type == SN_TYPE_FUNCTION || g->type == SN_TYPE_VARIABLE) { free(g->name); } - free(g); if(sn == NULL) return; int i; for(i = 0; sn->generics[i] != NULL; i++);