summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuo Jinghua <sunmoon1997@gmail.com>2009-11-08 22:28:48 +0800
committerLuo Jinghua <sunmoon1997@gmail.com>2009-11-08 22:28:48 +0800
commit37b0956469393c7c9c44cc7aa0cee03dfdeb6bf9 (patch)
treef45d4f5c91e0f319aabf2b2d9a9dc6417a2047b9
parentce77ea6d53b822b1f8ae96ea5b58b7b87e69c887 (diff)
milkway/test: fixed a memory leak in crypt-test.c
-rw-r--r--milkway/test/crypt-test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/milkway/test/crypt-test.c b/milkway/test/crypt-test.c
index d58b82c..316e622 100644
--- a/milkway/test/crypt-test.c
+++ b/milkway/test/crypt-test.c
@@ -68,5 +68,7 @@ int main(int argc, char **argv)
fclose(fp);
test_decrypt(data, len);
+
+ free(data);
return 0;
}