diff options
author | Nalin Dahyabhai <nalin@src.gnome.org> | 2002-04-22 13:56:00 +0000 |
---|---|---|
committer | Nalin Dahyabhai <nalin@src.gnome.org> | 2002-04-22 13:56:00 +0000 |
commit | 8421ed85f076ed9e1b72adce56c75e22d1a04ba9 (patch) | |
tree | bb9ad85d6f77e76d65e92ca349f5904d22f37014 | |
parent | 6acf490a78630612a06a51c2cf828a4a08935296 (diff) |
src/vte.c: Prevent double-free of incoming buffer (patch from Havoc).
-rw-r--r-- | src/vte.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -3281,12 +3281,14 @@ vte_terminal_process_incoming(gpointer data) /* Discard the data, we can't use it. */ terminal->pvt->n_incoming = 0; g_free(terminal->pvt->incoming); + terminal->pvt->incoming; again = FALSE; } } else { /* No leftovers, clean out the data. */ terminal->pvt->n_incoming = 0; g_free(terminal->pvt->incoming); + terminal->pvt->incoming; again = FALSE; } |