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
1 changed files with 2 additions and 2 deletions

View File

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