]> sigrok.org Git - pulseview.git/commit
Session: Fix mismatched delete operator.
authorPhilipp Marek <redacted>
Sat, 18 Nov 2017 12:53:24 +0000 (13:53 +0100)
committerPhilipp Marek <redacted>
Sat, 18 Nov 2017 12:53:44 +0000 (13:53 +0100)
commita00f8221dce2af1e88d5eefc7b3689c377f4b72c
treeaf26c9fc78fb136bf3ce3825529d8aa6d1fc06ce
parent09fa2702525385db43535d0fd5c4a219a41e1a53
Session: Fix mismatched delete operator.

Mismatched free() / delete / delete []
   at 0x4C2D31B: operator delete(void*) (vg_replace_malloc.c:576)
   by 0x1C76D0: operator() (unique_ptr.h:78)
   by 0x1C76D0: ~unique_ptr (unique_ptr.h:268)
   by 0x1C76D0: pv::data::AnalogSegment::append_interleaved_samples(float const*, unsigned long, unsigned long) (analogsegment.cpp:78)
...
Address 0x1d123f70 is 0 bytes inside a block of size 312 alloc'd
   at 0x4C2C97F: operator new[](unsigned long) (vg_replace_malloc.c:423)
   by 0x1C765E: pv::data::AnalogSegment::append_interleaved_samples(float const*, unsigned long, unsigned long) (analogsegment.cpp:78)
   by 0x1AFDD5: pv::Session::feed_in_analog(std::shared_ptr<sigrok::Analog>) (session.cpp:1142)
pv/data/analogsegment.cpp