[gtk+/gtk-3-22] testheightforwidth: Add missing unref
- From: Daniel Boles <dboles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-22] testheightforwidth: Add missing unref
- Date: Mon, 6 Mar 2017 20:58:52 +0000 (UTC)
commit 0349574b477bf8febde96d9d3ff50819c5ae7dea
Author: Daniel Boles <dboles src gnome org>
Date: Mon Mar 6 20:57:17 2017 +0000
testheightforwidth: Add missing unref
tests/testheightforwidth.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/tests/testheightforwidth.c b/tests/testheightforwidth.c
index 4eb2222..cb76f19 100644
--- a/tests/testheightforwidth.c
+++ b/tests/testheightforwidth.c
@@ -939,7 +939,10 @@ test_clicked (GtkWidget *button,
{
g_printerr ("GtkBuilder for interface \"%s\" returned error \"%s\"\n",
interface->name, error->message);
+
g_error_free (error);
+ g_object_unref (builder);
+
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]