[gnome-utils] Fixed some memory leaks.
- From: Dennis Cranston <dcransto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-utils] Fixed some memory leaks.
- Date: Wed, 29 Sep 2010 04:54:37 +0000 (UTC)
commit 5c62fb9c261960e70ffaa94ae5cdc4a08ab41b96
Author: Viktors Petrovs <viktors petrovs gmail com>
Date: Wed Aug 11 13:09:28 2010 +0300
Fixed some memory leaks.
gsearchtool/gsearchtool-callbacks.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gsearchtool/gsearchtool-callbacks.c b/gsearchtool/gsearchtool-callbacks.c
index a9b55a1..d751789 100644
--- a/gsearchtool/gsearchtool-callbacks.c
+++ b/gsearchtool/gsearchtool-callbacks.c
@@ -1073,6 +1073,7 @@ build_popup_menu_for_file (GSearchWindow * gsearch,
/* Popup menu item: Open with (default) */
str = g_strdup_printf (_("_Open with %s"), g_app_info_get_name (list->data));
new1 = gtk_image_menu_item_new_with_mnemonic (str);
+ g_free (str);
gtk_widget_show (new1);
g_object_set_data_full (G_OBJECT (new1), "app", (GAppInfo *)list->data,
@@ -1112,6 +1113,7 @@ build_popup_menu_for_file (GSearchWindow * gsearch,
}
new1 = gtk_image_menu_item_new_with_mnemonic (str);
+ g_free (str);
gtk_widget_show (new1);
g_object_set_data_full (G_OBJECT (new1), "app", (GAppInfo *)list->data,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]