fix crash wrong delete[]

This commit is contained in:
MPR 2014-10-18 18:31:04 +00:00
parent 0521316285
commit 61c52f8c3a

View File

@ -149,7 +149,7 @@ void V4L2DeviceSource::deliverFrame()
}
fFrameSize -= offset;
memcpy(fTo, frame->m_buffer+offset, fFrameSize);
delete [] frame;
delete frame;
}
// send Frame to the consumer