diff options
author | Bastien Nocera <hadess@hadess.net> | 2012-05-25 13:58:23 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2012-05-25 14:00:53 +0100 |
commit | 528b978dce10e0c175325b3b71136050cdf42c9e (patch) | |
tree | c297bf60395ecf5531d692a8741081b0ceb44216 | |
parent | fafc000f8939cc83592125ece89eea5bb9b795d7 (diff) | |
download | gnome-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.h | 3 |
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; } |