[libpeas] Free the engine in the demo



commit db7bf1bc725782e1a60af852bd03ad7d2c471fef
Author: Garrett Regier <alias301 gmail com>
Date:   Thu Feb 17 07:17:29 2011 -0800

    Free the engine in the demo

 peas-demo/peas-demo.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/peas-demo/peas-demo.c b/peas-demo/peas-demo.c
index 4c8ddca..83cd6a3 100644
--- a/peas-demo/peas-demo.c
+++ b/peas-demo/peas-demo.c
@@ -143,5 +143,7 @@ main (int    argc,
 
   gtk_widget_destroy (main_window);
 
+  g_object_unref (engine);
+
   return 0;
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]