[frogr] Unref the controller when frogr is done
- From: Mario Sanchez Prada <msanchez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [frogr] Unref the controller when frogr is done
- Date: Tue, 27 Nov 2012 10:48:31 +0000 (UTC)
commit 961634a94c92f4bdc2a807014e271fa56b2e8074
Author: Mario Sanchez Prada <msanchez gnome org>
Date: Sat Nov 17 03:19:44 2012 +0100
Unref the controller when frogr is done
src/main.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/main.c b/src/main.c
index a0d8d64..0ec40bb 100644
--- a/src/main.c
+++ b/src/main.c
@@ -54,6 +54,7 @@ main (int argc, char **argv)
controller = frogr_controller_get_instance ();
status = frogr_controller_run_app (controller, argc, argv);
+ g_object_unref (controller);
/* cleanup libxml2 library */
xmlCleanupParser();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]