mirror of https://github.com/MidnightCommander/mc
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