summaryrefslogtreecommitdiff
path: root/sys/dev/microcode
diff options
context:
space:
mode:
authorjakllsch <jakllsch@NetBSD.org>2009-12-27 16:03:49 +0000
committerjakllsch <jakllsch@NetBSD.org>2009-12-27 16:03:49 +0000
commit09b3cf740d3d4de9f0fca7ff98373f6445978952 (patch)
treed16c2845fb2d6b83de4b6a8a4e8b4a88dfb6b8e7 /sys/dev/microcode
parentb8587108c52597f1e6afda4903854db25aa6e2ed (diff)
Free memory when done with it.
From Henning Petersen in PR/42522.
Diffstat (limited to 'sys/dev/microcode')
-rw-r--r--sys/dev/microcode/aic7xxx/aicasm.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/microcode/aic7xxx/aicasm.c b/sys/dev/microcode/aic7xxx/aicasm.c
index ed8069dd206..65b1bbb1fed 100644
--- a/sys/dev/microcode/aic7xxx/aicasm.c
+++ b/sys/dev/microcode/aic7xxx/aicasm.c
@@ -1,4 +1,4 @@
-/* $NetBSD: aicasm.c,v 1.7 2009/03/18 10:22:40 cegger Exp $ */
+/* $NetBSD: aicasm.c,v 1.8 2009/12/27 16:03:49 jakllsch Exp $ */
/*
* Aic7xxx SCSI host adapter firmware asssembler
@@ -43,7 +43,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: aicasm.c,v 1.7 2009/03/18 10:22:40 cegger Exp $");
+__RCSID("$NetBSD: aicasm.c,v 1.8 2009/12/27 16:03:49 jakllsch Exp $");
#include <sys/types.h>
#include <sys/mman.h>
@@ -594,6 +594,7 @@ output_listing(char *ifilename)
if (isatty(fileno(stdin)) == 0)
putchar(input);
}
+ free(func_values);
fprintf(stdout, "\nThanks!\n");
}