summaryrefslogtreecommitdiff
path: root/test/helpers.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-08-30 18:05:55 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2021-08-30 18:05:55 +0100
commit593e9817534a7d884164597005578da2223d089b (patch)
treed8677ed4e7cef0e7a1ef75958cfea64f4625805f /test/helpers.cpp
parentAdd -Wpedantic (diff)
downloadmygrate-593e9817534a7d884164597005578da2223d089b.tar.bz2
mygrate-593e9817534a7d884164597005578da2223d089b.tar.xz
mygrate-593e9817534a7d884164597005578da2223d089b.zip
Fix up all remaining warnings
Diffstat (limited to 'test/helpers.cpp')
-rw-r--r--test/helpers.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/helpers.cpp b/test/helpers.cpp
index 6cb6fdc..c00e786 100644
--- a/test/helpers.cpp
+++ b/test/helpers.cpp
@@ -5,6 +5,7 @@ MemStream::MemStream() : out {nullptr}, len {}, s {open_memstream(&out, &len)} {
MemStream::~MemStream()
{
fclose(s);
+ // NOLINTNEXTLINE(hicpp-no-malloc)
free(out);
}