Skip to content
Snippets Groups Projects
Commit 7f308127 authored by Eric Vidal's avatar Eric Vidal :speech_balloon:
Browse files

be clean with heap memory

parent d037a343
No related branches found
No related tags found
No related merge requests found
......@@ -542,6 +542,7 @@ int sv_args(int argc, char const *const *argv,char const *const *envp)
genalloc_deepfree(stralist,&gawhat,stra_free) ;
genalloc_deepfree(stralist,&gatree,stra_free) ;
ss_resolve_free(&res) ;
stralloc_free(&src) ;
return 1 ;
err:
......@@ -550,6 +551,7 @@ int sv_args(int argc, char const *const *argv,char const *const *envp)
genalloc_deepfree(stralist,&gawhat,stra_free) ;
genalloc_deepfree(stralist,&gatree,stra_free) ;
ss_resolve_free(&res) ;
stralloc_free(&src) ;
return 0 ;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment