summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/import.c
diff options
context:
space:
mode:
authorMartynas Venckus <martynas@cvs.openbsd.org>2009-06-27 16:55:32 +0000
committerMartynas Venckus <martynas@cvs.openbsd.org>2009-06-27 16:55:32 +0000
commit4c3fa4ca1339e28ac7a1cb7962e198cf089ba88d (patch)
tree9988032097682f7a3e6dc7f508b263b57cb73a64 /usr.bin/cvs/import.c
parentec0812ae8b83537f3a7048ea954974b085636082 (diff)
release storage after asprintf. ok sthen@
Diffstat (limited to 'usr.bin/cvs/import.c')
-rw-r--r--usr.bin/cvs/import.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/cvs/import.c b/usr.bin/cvs/import.c
index ede89628d17..f07d5d08517 100644
--- a/usr.bin/cvs/import.c
+++ b/usr.bin/cvs/import.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: import.c,v 1.100 2009/06/07 08:39:13 ray Exp $ */
+/* $OpenBSD: import.c,v 1.101 2009/06/27 16:55:31 martynas Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
*
@@ -210,6 +210,8 @@ import_printf(const char *fmt, ...)
cvs_printf("%s", str);
cvs_buf_puts(logbuf, str);
+
+ xfree(str);
}
void