[gtksourceview] Plug leak of utility arrays in gutter drawing
- From: Paolo Borelli <pborelli src gnome org>
- To: svn-commits-list gnome org
- Subject: [gtksourceview] Plug leak of utility arrays in gutter drawing
- Date: Sat, 25 Jul 2009 14:12:55 +0000 (UTC)
commit 7b76abb9fdf562488fc4e978cfc5d592c07816d4
Author: Paolo Borelli <porelli gnome org>
Date: Sat Jul 25 16:11:46 2009 +0200
Plug leak of utility arrays in gutter drawing
gtksourceview/gtksourcegutter.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gtksourceview/gtksourcegutter.c b/gtksourceview/gtksourcegutter.c
index eb6f424..1c5dc59 100644
--- a/gtksourceview/gtksourcegutter.c
+++ b/gtksourceview/gtksourcegutter.c
@@ -961,6 +961,10 @@ on_view_expose_event (GtkSourceView *view,
}
}
+ g_array_free (numbers, TRUE);
+ g_array_free (pixels, TRUE);
+ g_array_free (heights, TRUE);
+
return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]