[recipes] Plug another small memory leak



commit e9d6ede4f0f8073b9bc9a21384718f20008c939d
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Jan 14 16:02:47 2017 -0500

    Plug another small memory leak

 src/gr-chef.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gr-chef.c b/src/gr-chef.c
index ac7ce83..c91afb2 100644
--- a/src/gr-chef.c
+++ b/src/gr-chef.c
@@ -142,6 +142,7 @@ gr_chef_set_property (GObject      *object,
                 break;
 
         case PROP_IMAGE_PATH:
+                g_free (self->image_path);
                 self->image_path = g_value_dup_string (value);
                 break;
 


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