=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/nm/util.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- src/usr.bin/nm/util.h 2015/05/17 20:19:08 1.3 +++ src/usr.bin/nm/util.h 2015/06/23 15:16:34 1.4 @@ -1,4 +1,4 @@ -/* $OpenBSD: util.h,v 1.3 2015/05/17 20:19:08 guenther Exp $ */ +/* $OpenBSD: util.h,v 1.4 2015/06/23 15:16:34 semarie Exp $ */ /* * Placed in the public domain by Todd C. Miller @@ -26,6 +26,7 @@ munmap(addr, len); \ else \ free(addr); \ + addr = NULL; \ } while (0) extern int usemmap;