[nautilus] mime-application-chooser: plug a leak
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] mime-application-chooser: plug a leak
- Date: Wed, 1 Dec 2010 01:53:45 +0000 (UTC)
commit de8cb567358f658c167b9413a077b681123ab056
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Wed Dec 1 02:53:22 2010 +0100
mime-application-chooser: plug a leak
.../nautilus-mime-application-chooser.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/libnautilus-private/nautilus-mime-application-chooser.c b/libnautilus-private/nautilus-mime-application-chooser.c
index bf9c96d..77ea652 100644
--- a/libnautilus-private/nautilus-mime-application-chooser.c
+++ b/libnautilus-private/nautilus-mime-application-chooser.c
@@ -213,6 +213,9 @@ app_info_can_add (GAppInfo *info,
retval = TRUE;
out:
+ g_list_free_full (recommended, g_object_unref);
+ g_list_free_full (fallback, g_object_unref);
+
return retval;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]