Direct commit: Fixed double memory free in input histoey list.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
This commit is contained in:
Slava Zanko 2011-07-09 11:55:30 +03:00
parent 3415416be8
commit 63c0f34dce

View File

@ -250,8 +250,8 @@ push_history (WInput * in, const char *text)
in->history = list_append_unique (in->history, t);
in->history_changed = TRUE;
}
g_free (t);
else
g_free (t);
in->need_push = FALSE;
}