[recipes] Fix a small memory leak
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [recipes] Fix a small memory leak
- Date: Sat, 31 Dec 2016 04:47:13 +0000 (UTC)
commit 312f5a1ff8ee683c1688f5d91a79d4dda1994f88
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Dec 30 21:25:24 2016 -0500
Fix a small memory leak
src/gr-ingredients-list.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gr-ingredients-list.c b/src/gr-ingredients-list.c
index 2c3566b..a600afd 100644
--- a/src/gr-ingredients-list.c
+++ b/src/gr-ingredients-list.c
@@ -52,6 +52,7 @@ ingredient_free (Ingredient *ing)
{
g_free (ing->name);
g_free (ing->unit);
+ g_free (ing->segment);
g_free (ing);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]