[gtk+] reftests: Plug a leak



commit 5c026f32e960100b290c0cebbb5922ef0e7c252a
Author: Benjamin Otte <otte redhat com>
Date:   Thu May 5 04:27:38 2011 +0200

    reftests: Plug a leak

 tests/reftests/gtk-reftest.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/tests/reftests/gtk-reftest.c b/tests/reftests/gtk-reftest.c
index 012c0b4..492031b 100644
--- a/tests/reftests/gtk-reftest.c
+++ b/tests/reftests/gtk-reftest.c
@@ -243,6 +243,7 @@ snapshot_widget (GtkWidget *widget, SnapshotMode mode)
     }
 
   cairo_destroy (cr);
+  g_main_loop_unref (loop);
   gtk_widget_destroy (widget);
 
   return surface;



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