Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Oct 2009 14:09:06 +0000 (UTC)
From:      Christian Brueffer <brueffer@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r198327 - head/sys/dev/aic7xxx/aicasm
Message-ID:  <200910211409.n9LE96se001469@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brueffer
Date: Wed Oct 21 14:09:06 2009
New Revision: 198327
URL: http://svn.freebsd.org/changeset/base/198327

Log:
  Add a missing free() call.
  
  PR:		138379
  Submitted by:	Patroklos Argyroudis <argp@census-labs.com>
  Reviewed by:	gibbs
  MFC after:	1 week

Modified:
  head/sys/dev/aic7xxx/aicasm/aicasm.c

Modified: head/sys/dev/aic7xxx/aicasm/aicasm.c
==============================================================================
--- head/sys/dev/aic7xxx/aicasm/aicasm.c	Wed Oct 21 14:05:51 2009	(r198326)
+++ head/sys/dev/aic7xxx/aicasm/aicasm.c	Wed Oct 21 14:09:06 2009	(r198327)
@@ -639,6 +639,8 @@ output_listing(char *ifilename)
 		}
 		instrptr++;
 	}
+	free(func_values);
+
 	/* Dump the remainder of the file */
 	while(fgets(buf, sizeof(buf), ifile) != NULL)
 		fprintf(listfile, "             %s", buf);



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