[gnome-builder] recent: free allocated search text
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] recent: free allocated search text
- Date: Tue, 22 Jan 2019 02:37:22 +0000 (UTC)
commit 3ac23f19c572f07efc235f9a6760875534b75b48
Author: Christian Hergert <chergert redhat com>
Date: Mon Jan 21 18:28:53 2019 -0800
recent: free allocated search text
src/plugins/recent/gbp-recent-section.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/plugins/recent/gbp-recent-section.c b/src/plugins/recent/gbp-recent-section.c
index 41db6001d..3f36c2bfd 100644
--- a/src/plugins/recent/gbp-recent-section.c
+++ b/src/plugins/recent/gbp-recent-section.c
@@ -107,7 +107,7 @@ gbp_recent_section_filter_cb (GtkListBoxRow *row,
if (filter->spec != NULL)
{
- const gchar *search_text;
+ g_autofree gchar *search_text = NULL;
if ((search_text = ide_greeter_row_get_search_text (IDE_GREETER_ROW (row))))
match = dzl_pattern_spec_match (filter->spec, search_text);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]