Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Feb 2013 01:54:26 +0000 (UTC)
From:      "Pedro F. Giffuni" <pfg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r246278 - head/usr.sbin/crunch/crunchide
Message-ID:  <201302030154.r131sQZm084127@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pfg
Date: Sun Feb  3 01:54:25 2013
New Revision: 246278
URL: http://svnweb.freebsd.org/changeset/base/246278

Log:
  crunch: Sync some NetBSD changes
  
  Fix a couple of free's in previous commit.
  
  Obtained from:	NetBSD
  MFC after:	1 week

Modified:
  head/usr.sbin/crunch/crunchide/exec_elf32.c

Modified: head/usr.sbin/crunch/crunchide/exec_elf32.c
==============================================================================
--- head/usr.sbin/crunch/crunchide/exec_elf32.c	Sun Feb  3 01:22:28 2013	(r246277)
+++ head/usr.sbin/crunch/crunchide/exec_elf32.c	Sun Feb  3 01:54:25 2013	(r246278)
@@ -384,6 +384,8 @@ out:
 	if (symtabp != NULL)
 		free(symtabp);
 	if (strtabp != NULL)
+		free(strtabp);
+	if (nstrtabp != NULL)
 		free(nstrtabp);
 	return (rv);
 



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