Module Name:    src
Committed By:   agc
Date:           Tue Jun  1 03:19:27 UTC 2010

Modified Files:
        src/crypto/external/bsd/netpgp/dist/src/lib: packet-parse.c

Log Message:
when cleaning up, don't try to free the public key which is part of the
secret key - shown up by Mac OS X malloc.


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 \
    src/crypto/external/bsd/netpgp/dist/src/lib/packet-parse.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/crypto/external/bsd/netpgp/dist/src/lib/packet-parse.c
diff -u src/crypto/external/bsd/netpgp/dist/src/lib/packet-parse.c:1.35 src/crypto/external/bsd/netpgp/dist/src/lib/packet-parse.c:1.36
--- src/crypto/external/bsd/netpgp/dist/src/lib/packet-parse.c:1.35	Tue May 25 01:05:10 2010
+++ src/crypto/external/bsd/netpgp/dist/src/lib/packet-parse.c	Tue Jun  1 03:19:26 2010
@@ -58,7 +58,7 @@
 
 #if defined(__NetBSD__)
 __COPYRIGHT("@(#) Copyright (c) 2009 The NetBSD Foundation, Inc. All rights reserved.");
-__RCSID("$NetBSD: packet-parse.c,v 1.35 2010/05/25 01:05:10 agc Exp $");
+__RCSID("$NetBSD: packet-parse.c,v 1.36 2010/06/01 03:19:26 agc Exp $");
 #endif
 
 #ifdef HAVE_OPENSSL_CAST_H
@@ -2246,7 +2246,6 @@
 			__ops_show_pka(key->pubkey.alg));
 	}
 	free(key->checkhash);
-	__ops_pubkey_free(&key->pubkey);
 }
 
 static int 

Reply via email to