]> sigrok.org Git - pulseview.git/commitdiff
Added missing delete to pulses test
authorJoel Holdsworth <redacted>
Sat, 29 Sep 2012 09:10:38 +0000 (10:10 +0100)
committerJoel Holdsworth <redacted>
Sat, 6 Oct 2012 12:56:26 +0000 (13:56 +0100)
test/logicdatasnapshot.cpp

index cf3898e2fa10edecfe0ec08e7549f280ad06c458..42f40846ee21ccd03cdba3c4970b7f7d43af5f88 100644 (file)
@@ -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