[vte] Bug 592990 - gnome terminal crashes with glibc detected



commit c4aff049937050c58da80ec3c789d3b35abbffd0
Author: Behdad Esfahbod <behdad behdad org>
Date:   Tue Aug 25 13:37:08 2009 -0400

    Bug 592990 - gnome terminal crashes with glibc detected

 src/ring.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/ring.c b/src/ring.c
index 611a105..4af860e 100644
--- a/src/ring.c
+++ b/src/ring.c
@@ -39,10 +39,9 @@ _vte_row_data_init (VteRowData *row)
 static void
 _vte_row_data_fini(VteRowData *row, gboolean free_cells)
 {
-	if (free_cells && row->cells) {
+	if (free_cells && row->cells)
 		g_array_free(row->cells, TRUE);
-		row->cells = NULL;
-	}
+	row->cells = NULL;
 }
 
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]