Source-Changes-HG archive

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

[src/trunk]: src/lib/libp2k don't double free p2m



details:   https://anonhg.NetBSD.org/src/rev/834c3063288b
branches:  trunk
changeset: 747949:834c3063288b
user:      pooka <pooka%NetBSD.org@localhost>
date:      Tue Oct 06 16:57:54 2009 +0000

description:
don't double free p2m

diffstat:

 lib/libp2k/p2k.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 8e3e7a9c7b1c -r 834c3063288b lib/libp2k/p2k.c
--- a/lib/libp2k/p2k.c  Tue Oct 06 16:28:10 2009 +0000
+++ b/lib/libp2k/p2k.c  Tue Oct 06 16:57:54 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: p2k.c,v 1.17 2009/10/06 16:23:03 pooka Exp $   */
+/*     $NetBSD: p2k.c,v 1.18 2009/10/06 16:57:54 pooka Exp $   */
 
 /*
  * Copyright (c) 2007 Antti Kantee.  All Rights Reserved.
@@ -352,6 +352,7 @@
        puffs_exit(pu, 1);
        pu = NULL;
        ukfs = NULL;
+       p2m = NULL;
 
  out:
        sverrno = errno;



Home | Main Index | Thread Index | Old Index