]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Corrected memory leak in read_octet. Based on patch by Colin Leroy (colin@colino...
authorNikos Mavrogiannopoulos <nmav@crystal.(none)>
Sat, 5 Jul 2008 07:53:59 +0000 (10:53 +0300)
committerNikos Mavrogiannopoulos <nmav@crystal.(none)>
Sat, 5 Jul 2008 07:53:59 +0000 (10:53 +0300)
lib/x509/common.c

index 54cf5c8ddb65c986b49fa170bbda4eec2023ab75..ebf50a938b29fd2f1cadc327264c600be960eadb 100644 (file)
@@ -853,7 +853,7 @@ _gnutls_x509_decode_octet_string (const char *string_type,
       goto cleanup;
     }
 
-  return 0;
+  result = 0;
 
 cleanup:
   if (c2)