changeset 946:171124737c76

Free secitem.data and not just the list.
author Andre Heinecke <andre.heinecke@intevation.de>
date Tue, 26 Aug 2014 17:03:50 +0200
parents 56ca8f2fd433
children dbf5ea18cb20
files cinst/nss-secitemlist.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/cinst/nss-secitemlist.c	Tue Aug 26 17:03:18 2014 +0200
+++ b/cinst/nss-secitemlist.c	Tue Aug 26 17:03:50 2014 +0200
@@ -29,6 +29,8 @@
     {
       oldlelt = *list;
       *list = oldlelt->next;
+      if (oldlelt->item->data)
+        free(oldlelt->item->data);
       free(oldlelt->item);
       free(oldlelt);
     }

http://wald.intevation.org/projects/trustbridge/