[gnome-shell] Fix memory leak in getting applications from menu



commit 90e6769638a42f997f5f48c9d8c3d200dae27d2c
Author: Colin Walters <walters verbum org>
Date:   Tue Sep 22 12:45:43 2009 -0400

    Fix memory leak in getting applications from menu
    
    https://bugzilla.gnome.org/show_bug.cgi?id=595321

 src/shell-app-system.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/shell-app-system.c b/src/shell-app-system.c
index 3c4a9d6..84804ba 100644
--- a/src/shell-app-system.c
+++ b/src/shell-app-system.c
@@ -539,7 +539,7 @@ shell_app_menu_entry_get_type (void)
  * Traverses a toplevel menu, and returns all items under it.  Nested items
  * are flattened.
  *
- * Return value: (transfer container) (element-type ShellAppInfo): List of applications
+ * Return value: (transfer full) (element-type ShellAppInfo): List of applications
  */
 GSList *
 shell_app_system_get_applications_for_menu (ShellAppSystem *monitor,



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