changeset 318:6ccaf25219fd

Fixed leak.
author Sascha Wilde <wilde@intevation.de>
date Fri, 04 Apr 2014 17:13:35 +0200
parents 46fd11699646
children 4077eff1dd39
files cinst/nss-secitemlist.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/cinst/nss-secitemlist.c	Fri Apr 04 15:11:09 2014 +0200
+++ b/cinst/nss-secitemlist.c	Fri Apr 04 17:13:35 2014 +0200
@@ -23,6 +23,7 @@
       oldlelt = *list;
       item = oldlelt->item;
       *list = oldlelt->next;
+      free(oldlelt);
     }
   return(item);
 }

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