summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKentaro Fukuchi <kentaro@fukuchi.org>2021-01-08 14:49:42 +0900
committerKentaro Fukuchi <kentaro@fukuchi.org>2021-01-08 14:53:33 +0900
commit848d717a682744510fe4b318d06c4b1c3d45eb04 (patch)
tree1afcf633f6f36b02360bcfab69fc58e7af46b597
parent0db94b7764f4433d3600191ad49daedbdd2ca73b (diff)
downloadProject-Tick-848d717a682744510fe4b318d06c4b1c3d45eb04.tar.gz
Project-Tick-848d717a682744510fe4b318d06c4b1c3d45eb04.zip
A minor memory leak bug in a test case has been fixed.
-rw-r--r--ChangeLog5
-rw-r--r--tests/test_qrinput.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ba479e32dd..284943ad88 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2021.01.08 Kentaro Fukuchi <kentaro@fukuchi.org>
+ [develop]
+ * tests/test_qrinput.c:
+ - A minor memory leak bug in a test case has been fixed.
+
2020.09.29 Kentaro Fukuchi <kentaro@fukuchi.org>
[develop]
* qrencode.c:
diff --git a/tests/test_qrinput.c b/tests/test_qrinput.c
index b1ac5a981e..2aab36a8b6 100644
--- a/tests/test_qrinput.c
+++ b/tests/test_qrinput.c
@@ -919,6 +919,7 @@ static void test_QRinput_getErrorCorrectionLevel(void)
level = QRinput_getErrorCorrectionLevel(input);
assert_equal(level, QR_ECLEVEL_H, "QRinput_getErrorCorrectionLevel() fails to return expected level.\n");
testFinish();
+ QRinput_free(input);
}
static void test_mqr_new(void)