[gnome-photos] search-type-manager: Plug memory leak
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos] search-type-manager: Plug memory leak
- Date: Tue, 19 Apr 2016 13:10:33 +0000 (UTC)
commit 8b9de544682f9bc3c4cbb781a7bae6b951410110
Author: Timm Bäder <mail baedert org>
Date: Sat Apr 16 14:20:28 2016 +0200
search-type-manager: Plug memory leak
Fall out from 25080e7c08da30f8b15c1d2f9175dbc9ae311e65
src/photos-search-type-manager.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/photos-search-type-manager.c b/src/photos-search-type-manager.c
index 6560089..52446f2 100644
--- a/src/photos-search-type-manager.c
+++ b/src/photos-search-type-manager.c
@@ -94,7 +94,7 @@ static void
photos_search_type_manager_init (PhotosSearchTypeManager *self)
{
PhotosSearchType *search_type;
- const gchar *item_filter;
+ gchar *item_filter;
gchar *all_filter;
gchar *col_filter;
gchar *fav_filter;
@@ -143,6 +143,7 @@ photos_search_type_manager_init (PhotosSearchTypeManager *self)
photos_base_manager_set_active_object_by_id (PHOTOS_BASE_MANAGER (self), PHOTOS_SEARCH_TYPE_STOCK_PHOTOS);
+ g_free (item_filter);
g_free (all_filter);
g_free (col_filter);
g_free (fav_filter);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]