From: Joel Holdsworth Date: Sat, 29 Sep 2012 09:10:38 +0000 (+0100) Subject: Added missing delete to pulses test X-Git-Tag: pulseview-0.1.0~293 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=821f23af70c6d65921d164f6b6a5756f1b917d26;p=pulseview.git Added missing delete to pulses test --- diff --git a/test/logicdatasnapshot.cpp b/test/logicdatasnapshot.cpp index cf3898e2..42f40846 100644 --- a/test/logicdatasnapshot.cpp +++ b/test/logicdatasnapshot.cpp @@ -291,6 +291,7 @@ BOOST_AUTO_TEST_CASE(Pulses) } LogicDataSnapshot s(logic); + delete[] (uint8_t*)logic.data; //----- Check the mip-map -----// // Check mip map level 0