[gnome-control-center] shell: free the menu directory contents list



commit 2e47f04fc9b5abc802f2b2ed3e30b208131e5df1
Author: Thomas Wood <thomas wood intel com>
Date:   Fri Jul 16 14:44:14 2010 +0100

    shell: free the menu directory contents list

 shell/gnome-control-center.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/shell/gnome-control-center.c b/shell/gnome-control-center.c
index 41f8213..43449f8 100644
--- a/shell/gnome-control-center.c
+++ b/shell/gnome-control-center.c
@@ -654,6 +654,8 @@ fill_model (GnomeControlCenter *shell)
                                            f->data);
                 }
             }
+
+          g_slist_free (contents);
         }
     }
 



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