Commit 3df6407d authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix memory leak in previous commit

parent b9bb6468
...@@ -442,6 +442,7 @@ static int SaveConfigFile( vlc_object_t *p_this, const char *psz_module_name, ...@@ -442,6 +442,7 @@ static int SaveConfigFile( vlc_object_t *p_this, const char *psz_module_name,
} }
fclose (file); fclose (file);
file = NULL; file = NULL;
free (line);
*p_index = '\0'; *p_index = '\0';
bigsize = p_index - bigbuf; bigsize = p_index - bigbuf;
} }
......
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