[recipes] Plug a small memory leak



commit 48a66197da5a53afae7a6d583205e09ca1a780a5
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Feb 25 01:06:17 2017 -0500

    Plug a small memory leak

 src/gr-cooking-view.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gr-cooking-view.c b/src/gr-cooking-view.c
index c4830dd..ca0dde4 100644
--- a/src/gr-cooking-view.c
+++ b/src/gr-cooking-view.c
@@ -239,6 +239,7 @@ gr_cooking_view_finalize (GObject *object)
 {
         GrCookingView *self = GR_COOKING_VIEW (object);
 
+        g_clear_pointer (&self->id, g_free);
         g_clear_pointer (&self->images, g_array_unref);
         g_clear_pointer (&self->instructions, g_free);
         g_clear_pointer (&self->steps, g_ptr_array_unref);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]