[libpeas] Do not leak the window.
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libpeas] Do not leak the window.
- Date: Wed, 28 Jul 2010 13:56:09 +0000 (UTC)
commit 5a868acb58e4ca7a746326fe9a8b0977c773dcb7
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Wed Jul 28 15:55:55 2010 +0200
Do not leak the window.
.../helloworld/peasdemo-hello-world-plugin.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/peas-demo/plugins/helloworld/peasdemo-hello-world-plugin.c b/peas-demo/plugins/helloworld/peasdemo-hello-world-plugin.c
index ca1e20d..7500a25 100644
--- a/peas-demo/plugins/helloworld/peasdemo-hello-world-plugin.c
+++ b/peas-demo/plugins/helloworld/peasdemo-hello-world-plugin.c
@@ -78,6 +78,7 @@ peasdemo_hello_world_plugin_finalize (GObject *object)
g_debug (G_STRFUNC);
g_object_unref (plugin->label);
+ g_object_unref (plugin->window);
G_OBJECT_CLASS (peasdemo_hello_world_plugin_parent_class)->finalize (object);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]