[gnome-photos/gnome-3-20] Revert "search-type-manager: Plug memory leak"
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos/gnome-3-20] Revert "search-type-manager: Plug memory leak"
- Date: Tue, 19 Apr 2016 17:13:40 +0000 (UTC)
commit b3c61ce22580f1b247e2a192393ce6a19f1d0a7a
Author: Debarshi Ray <debarshir gnome org>
Date: Tue Apr 19 19:09:04 2016 +0200
Revert "search-type-manager: Plug memory leak"
The patch that introduced the leak was not present in this branch in
the first place.
This reverts commit 6c8269d2280df4ec20092aa3b0affff77846b17c.
src/photos-search-type-manager.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/photos-search-type-manager.c b/src/photos-search-type-manager.c
index 56cf2c1..100bbb4 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;
- gchar *item_filter;
+ const gchar *item_filter;
gchar *all_filter;
gchar *col_filter;
gchar *fav_filter;
@@ -141,7 +141,6 @@ 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]