[gnome-control-center] shell/alt: Fix memory leak



commit f8db8b67e3453956c755cc186629f602d42bce85
Author: Mohammed Sadiq <sadiq sadiqpk org>
Date:   Fri May 5 09:46:14 2017 +0530

    shell/alt: Fix memory leak
    
    'id' component was forgotten to be freed before the
    struct itself is freed.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=782200

 shell/alt/cc-panel-list.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/shell/alt/cc-panel-list.c b/shell/alt/cc-panel-list.c
index 902056c..513d6bd 100644
--- a/shell/alt/cc-panel-list.c
+++ b/shell/alt/cc-panel-list.c
@@ -145,6 +145,7 @@ row_data_free (RowData *data)
 {
   g_free (data->description);
   g_free (data->name);
+  g_free (data->id);
   g_free (data);
 }
 


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