From 47dd9bfd1874f7fbf9190e8f139cc785d3b2dd43 Mon Sep 17 00:00:00 2001 From: "Brian S. Dean" Date: Sun, 14 Jan 2001 21:43:14 +0000 Subject: [PATCH] Free a buffer. git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@32 81a1dc3b-b13d-400b-aceb-764788c761c2 --- avrdude/avrprog.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/avrdude/avrprog.c b/avrdude/avrprog.c index cd06ec2e..02e89de3 100644 --- a/avrdude/avrprog.c +++ b/avrdude/avrprog.c @@ -1580,6 +1580,8 @@ int cmd_write ( int fd, struct avrpart * p, int argc, char * argv[] ) i++; } + free(buf); + fprintf(stdout, "\n"); return 0;