[gnumeric] Styles: plug leaks.



commit 9a846a7e03e25ceef71ee2c348690170fb917f87
Author: Morten Welinder <terra gnome org>
Date:   Sun Oct 28 17:58:00 2012 -0400

    Styles: plug leaks.

 src/sheet-style.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/sheet-style.c b/src/sheet-style.c
index eba3d97..5bea872 100644
--- a/src/sheet-style.c
+++ b/src/sheet-style.c
@@ -2559,6 +2559,7 @@ merge_vertical_stripes (ISL *data)
 			g_printerr ("\n");
 
 		gnm_style_region_free (a);
+		g_slist_free (Bs);
 
 		if (paranoid) verify_hashes (data);
 	}
@@ -2654,6 +2655,7 @@ merge_horizontal_stripes (ISL *data)
 			g_printerr ("\n");
 
 		gnm_style_region_free (a);
+		g_slist_free (Bs);
 
 		if (paranoid) verify_hashes (data);
 	}



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