mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-22 03:02:06 +03:00
(mc_serialize_config): fix memory leak.
Found by Coverity. Coverity id #331818. Signed-off-by: Andreas Mohr <and@gmx.li> Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
10c27b28a7
commit
db3b30ebea
@ -251,6 +251,9 @@ mc_serialize_config (mc_config_t * data, GError ** error)
|
||||
|
||||
g_strfreev (params);
|
||||
}
|
||||
|
||||
g_strfreev (groups);
|
||||
|
||||
return g_string_free (buffer, FALSE);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user