[recipes] store: Plug another small memory leak
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [recipes] store: Plug another small memory leak
- Date: Sun, 5 Mar 2017 03:22:23 +0000 (UTC)
commit 197234d663be78436507243df5e2573252389635
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Mar 4 22:21:28 2017 -0500
store: Plug another small memory leak
We forgot to clear parts of the shopping list on finalize.
src/gr-recipe-store.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gr-recipe-store.c b/src/gr-recipe-store.c
index 26197a9..a0b4aa2 100644
--- a/src/gr-recipe-store.c
+++ b/src/gr-recipe-store.c
@@ -100,6 +100,7 @@ gr_recipe_store_finalize (GObject *object)
g_strfreev (self->picks);
g_strfreev (self->favorites);
g_strfreev (self->shopping);
+ g_free (self->shopping_serves);
g_strfreev (self->featured_chefs);
g_free (self->user);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]