[gnome-settings-daemon] common: Make test-plugin stop and unref the manager
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] common: Make test-plugin stop and unref the manager
- Date: Fri, 25 May 2012 13:03:45 +0000 (UTC)
commit 528b978dce10e0c175325b3b71136050cdf42c9e
Author: Bastien Nocera <hadess hadess net>
Date: Fri May 25 13:58:23 2012 +0100
common: Make test-plugin stop and unref the manager
Makes it easier to valgrind the plugins
plugins/common/test-plugin.h | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/plugins/common/test-plugin.h b/plugins/common/test-plugin.h
index be877a2..036d6f1 100644
--- a/plugins/common/test-plugin.h
+++ b/plugins/common/test-plugin.h
@@ -43,5 +43,8 @@ main (int argc, char **argv)
gtk_main ();
+ STOP (manager);
+ g_object_unref (manager);
+
return 0;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]