diff common/listutil.c @ 92:4980b0deb773

Fix memleak in case of invalid signature
author Andre Heinecke <aheinecke@intevation.de>
date Fri, 21 Mar 2014 09:47:54 +0000
parents 00f9b91f4039
children 0798b9e35725
line wrap: on
line diff
--- a/common/listutil.c	Fri Mar 21 09:47:05 2014 +0000
+++ b/common/listutil.c	Fri Mar 21 09:47:54 2014 +0000
@@ -214,7 +214,7 @@
             /* our error */
             retval = InvalidFormat;
         } else {
-            return InvalidSignature;
+            retval = InvalidSignature;
         }
     }
 

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