[mutter] default: free the option context after parsing



commit ab632e36a5fa89baf0e2f8a68f8698cf480aabec
Author: Giovanni Campagna <gcampagna src gnome org>
Date:   Wed May 7 18:25:04 2014 +0200

    default: free the option context after parsing
    
    We don't need it, we should free it.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=729732

 src/core/mutter.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/core/mutter.c b/src/core/mutter.c
index a2bfecd..c03e991 100644
--- a/src/core/mutter.c
+++ b/src/core/mutter.c
@@ -75,6 +75,7 @@ main (int argc, char **argv)
       g_printerr ("mutter: %s\n", error->message);
       exit (1);
     }
+  g_option_context_free (ctx);
 
   if (plugin)
     meta_plugin_manager_load (plugin);


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