projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ede2c0
)
Fix memory leak in test program
author
John Darrington
<john@darrington.wattle.id.au>
Sun, 31 Jul 2016 13:47:06 +0000
(15:47 +0200)
committer
John Darrington
<john@darrington.wattle.id.au>
Sun, 31 Jul 2016 13:47:06 +0000
(15:47 +0200)
tests/data/sack.c
patch
|
blob
|
history
diff --git
a/tests/data/sack.c
b/tests/data/sack.c
index 006d73f1c93f214a3232b0d199abb6ec03d80faf..b9a09b3ffd3052febf1a8f2544cf182139c0f7d0 100644
(file)
--- a/
tests/data/sack.c
+++ b/
tests/data/sack.c
@@
-705,6
+705,7
@@
main (int argc, char **argv)
fclose (input);
fwrite (output.data, output.size, 1, stdout);
+ free (output.data);
return 0;
}