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

what a bug! Close stralloc before the use

parent dd3cc304
No related branches found
No related tags found
No related merge requests found
......@@ -450,6 +450,9 @@ int env_clean_with_comment(stralloc *sa)
log_warnu_return(LOG_EXIT_ZERO,"rebuild environment line") ;
}
if (!stralloc_0(&tmp))
log_warn_return(LOG_EXIT_ZERO,"stralloc") ;
if (!auto_stra(&final,start,tmp.s,end))
log_warn_return(LOG_EXIT_ZERO,"append stralloc") ;
}
......
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