summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2012-05-25 13:58:23 +0100
committerBastien Nocera <hadess@hadess.net>2012-05-25 14:00:53 +0100
commit528b978dce10e0c175325b3b71136050cdf42c9e (patch)
treec297bf60395ecf5531d692a8741081b0ceb44216
parentfafc000f8939cc83592125ece89eea5bb9b795d7 (diff)
downloadgnome-settings-daemon-528b978dce10e0c175325b3b71136050cdf42c9e.tar.gz
common: Make test-plugin stop and unref the manager
Makes it easier to valgrind the plugins
-rw-r--r--plugins/common/test-plugin.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/common/test-plugin.h b/plugins/common/test-plugin.h
index be877a26..036d6f18 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;
}