Fixed memory leak in lib/serialize.c

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
This commit is contained in:
Slava Zanko 2011-12-09 22:42:08 +03:00
parent 1b53918e0a
commit 44de4d1b1f
1 changed files with 1 additions and 1 deletions

View File

@ -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);