mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 12:32:40 +03:00
Fixed memory leak in lib/serialize.c
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
This commit is contained in:
parent
1b53918e0a
commit
44de4d1b1f
@ -321,7 +321,7 @@ mc_deserialize_config (const char *data, GError ** error)
|
||||
break;
|
||||
case WAIT_VALUE:
|
||||
current_value = mc_deserialize_str ('v', data, error);
|
||||
if (current_param == NULL)
|
||||
if (current_value == NULL)
|
||||
{
|
||||
g_free (current_group);
|
||||
g_free (current_param);
|
||||
|
Loading…
Reference in New Issue
Block a user