[gnome-photos/wip/baedert/gtkimageview: 3/5] search-type-manager: Plug memory leak
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos/wip/baedert/gtkimageview: 3/5] search-type-manager: Plug memory leak
- Date: Tue, 19 Apr 2016 12:44:02 +0000 (UTC)
commit 3abe0d25f421b6d376f7fbae27b5c537280dd7bc
Author: Timm Bäder <mail baedert org>
Date: Sat Apr 16 14:20:28 2016 +0200
search-type-manager: Plug memory leak
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]