summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/source/test/win1252dec.i1
-rw-r--r--test/source/test/win1252enc.i1
2 files changed, 2 insertions, 0 deletions
diff --git a/test/source/test/win1252dec.i b/test/source/test/win1252dec.i
index 23fbe2b..f1adf03 100644
--- a/test/source/test/win1252dec.i
+++ b/test/source/test/win1252dec.i
@@ -72,5 +72,6 @@ static bool zaptest_test_win1252dec(void) {
zaptest_chk(utf20[0x1Bu],0x17Eu, zap_chr20,"%" PRIXLEAST32);
zaptest_chk(utf20[0x1Cu],0x178u, zap_chr20,"%" PRIXLEAST32);
zaptest_chk(utf20[0x1Du],0x0u, zap_chr20,"%" PRIXLEAST32);
+ free(utf20);
return false;
}
diff --git a/test/source/test/win1252enc.i b/test/source/test/win1252enc.i
index 2bfa211..f9f258e 100644
--- a/test/source/test/win1252enc.i
+++ b/test/source/test/win1252enc.i
@@ -72,5 +72,6 @@ static bool zaptest_test_win1252enc(void) {
zaptest_chk(win1252[0x1Bu],0x9Eu,unsigned char,"%hhX");
zaptest_chk(win1252[0x1Cu],0x9Fu,unsigned char,"%hhX");
zaptest_chk(win1252[0x1Du],0x0u, unsigned char,"%hhX");
+ free(win1252);
return false;
}