plug a memleak in output_listing(); from NetBSD
Index: aicasm.c
===================================================================
RCS file: /cvs/src/sys/dev/microcode/aic7xxx/aicasm.c,v
retrieving revision 1.14
diff -u -r1.14 aicasm.c
--- aicasm.c    4 Oct 2005 23:46:14 -0000       1.14
+++ aicasm.c    11 Feb 2011 22:24:44 -0000
@@ -594,6 +594,7 @@
                        if (isatty(fileno(stdin)) == 0)
                                putchar(input);
                }
+               free(func_values);
                fprintf(stdout, "\nThanks!\n");
        }

Reply via email to