Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Dec 2002 16:44:37 +0300
From:      Andrew Belashov <bel@orel.ru>
To:        freebsd-sparc@freebsd.org
Subject:   Minor fixup in src/lib/libkvm/kvm_sparc64.c
Message-ID:  <3DF74145.2000705@orel.ru>

next in thread | raw e-mail | index | archive | help
Prevention of double freeing

--- kvm_sparc64.c.orig  Sun Oct 20 21:06:50 2002
+++ kvm_sparc64.c       Wed Dec 11 16:03:33 2002
@@ -186,6 +186,7 @@
         free(regs);
  fail_vm:
         free(vm);
+       kd->vmst = NULL;
         return (-1);
  }



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-sparc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DF74145.2000705>