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

close the string framboise

parent 6ae34eac
No related branches found
No related tags found
No related merge requests found
......@@ -189,6 +189,7 @@ int main(int argc, char const *const *argv)
if (!auto_stra(&tmp,name,SS_SVDIRS)) log_die_nomem("stralloc") ;
if (ss_resolve_check(tmp.s,svname))
{
src.len = 0 ;
if (!found)
if (!stralloc_copy(&src,&tmp)) log_die_nomem("stralloc") ;
found++ ;
......@@ -216,6 +217,7 @@ int main(int argc, char const *const *argv)
{
log_die(LOG_EXIT_SYS,svname," is set on different tree -- please use -t options") ;
}
if (!stralloc_0(&src)) log_die_nomem("stralloc") ;
info_field_align(buf,fields,field_suffix,MAXOPTS) ;
......
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