Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/external/bsd/netpgp/dist/src/lib minor clean up after...



details:   https://anonhg.NetBSD.org/src/rev/ccd9167dc93b
branches:  trunk
changeset: 756250:ccd9167dc93b
user:      agc <agc%NetBSD.org@localhost>
date:      Fri Jul 09 14:45:43 2010 +0000

description:
minor clean up after ourselves - free a compiled regexp

diffstat:

 crypto/external/bsd/netpgp/dist/src/lib/netpgp.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 7eaca460e822 -r ccd9167dc93b crypto/external/bsd/netpgp/dist/src/lib/netpgp.c
--- a/crypto/external/bsd/netpgp/dist/src/lib/netpgp.c  Fri Jul 09 14:30:53 2010 +0000
+++ b/crypto/external/bsd/netpgp/dist/src/lib/netpgp.c  Fri Jul 09 14:45:43 2010 +0000
@@ -34,7 +34,7 @@
 
 #if defined(__NetBSD__)
 __COPYRIGHT("@(#) Copyright (c) 2009 The NetBSD Foundation, Inc. All rights reserved.");
-__RCSID("$NetBSD: netpgp.c,v 1.64 2010/07/09 05:35:34 agc Exp $");
+__RCSID("$NetBSD: netpgp.c,v 1.65 2010/07/09 14:45:43 agc Exp $");
 #endif
 
 #include <sys/types.h>
@@ -115,6 +115,7 @@
                }
        }
        (void) fclose(fp);
+       regfree(&keyre);
        return 1;
 }
 



Home | Main Index | Thread Index | Old Index