[dia] Don't leak matrix in group_destroy_shallow()



commit 9c840be837f15e244987e2c6c22f4744bf73ca2f
Author: Hans Breuer <hans breuer org>
Date:   Tue Dec 31 21:28:59 2013 +0100

    Don't leak matrix in group_destroy_shallow()

 lib/group.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/lib/group.c b/lib/group.c
index 11550eb..08ff7f8 100644
--- a/lib/group.c
+++ b/lib/group.c
@@ -352,6 +352,8 @@ group_destroy_shallow(DiaObject *obj)
   prop_desc_list_free_handler_chain((PropDescription *)group->pdesc);
   g_free((PropDescription *)group->pdesc);
 
+  g_free (group->matrix);
+
   g_free(group);
 }
 


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