diff cinst/nss-secitemlist.c @ 318:6ccaf25219fd

Fixed leak.
author Sascha Wilde <wilde@intevation.de>
date Fri, 04 Apr 2014 17:13:35 +0200
parents 809eaca3898c
children 17e1c8f37d72
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/