Commit 32c4acbf authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

memory leak

parent df1749ce
...@@ -389,6 +389,8 @@ int Config::Parse() ...@@ -389,6 +389,8 @@ int Config::Parse()
} }
Programs.push_back(pp); Programs.push_back(pp);
} }
else
delete pp;
fclose (fd); fclose (fd);
if(check_unicode != (iconv_t)(-1)) if(check_unicode != (iconv_t)(-1))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment