Skip to content

Commit 848d717

Browse files
committed
A minor memory leak bug in a test case has been fixed.
1 parent 0db94b7 commit 848d717

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2021.01.08 Kentaro Fukuchi <[email protected]>
2+
[develop]
3+
* tests/test_qrinput.c:
4+
- A minor memory leak bug in a test case has been fixed.
5+
16
2020.09.29 Kentaro Fukuchi <[email protected]>
27
[develop]
38
* qrencode.c:

tests/test_qrinput.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -919,6 +919,7 @@ static void test_QRinput_getErrorCorrectionLevel(void)
919919
level = QRinput_getErrorCorrectionLevel(input);
920920
assert_equal(level, QR_ECLEVEL_H, "QRinput_getErrorCorrectionLevel() fails to return expected level.\n");
921921
testFinish();
922+
QRinput_free(input);
922923
}
923924

924925
static void test_mqr_new(void)

0 commit comments

Comments
 (0)