summaryrefslogtreecommitdiff
authorPekka Paalanen <ppaalanen@gmail.com>2012-08-22 06:49:31 (GMT)
committer Pekka Paalanen <ppaalanen@gmail.com>2012-08-22 07:12:37 (GMT)
commitb2e2c14b597cd2198a66625de2b6bdf234c8cdcf (patch) (side-by-side diff)
tree295fe9b78a2d359c2346bd611f42d71c28b2c36f
parent9c1ffea5a9e4557a89a0643a9d9496a967a5e120 (diff)
downloadandrogenizer-b2e2c14b597cd2198a66625de2b6bdf234c8cdcf.tar.gz
androgenizer-b2e2c14b597cd2198a66625de2b6bdf234c8cdcf.tar.bz2
options: fix a memory leak
Now Valgrind is happy with test.bash.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--options.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/options.c b/options.c
index ef84730..0820beb 100644
--- a/options.c
+++ b/options.c
@@ -540,6 +540,7 @@ struct project *options_parse(int argc, char **args)
if (skip) {
skip = 0;
+ free(arg);
continue;
}