mirror of
https://github.com/mpromonet/v4l2rtspserver
synced 2024-11-03 23:15:56 +00:00
fix crash wrong delete[]
This commit is contained in:
parent
0521316285
commit
61c52f8c3a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user