- Arrays should be deleted using "delete[]" and not "delete"
This commit is contained in:
parent
a4f597696a
commit
48b361b1eb
|
@ -491,7 +491,7 @@ VideoStream::~VideoStream( )
|
|||
if (packet_buffers) {
|
||||
delete packet_buffers[0];
|
||||
delete packet_buffers[1];
|
||||
delete packet_buffers;
|
||||
delete[] packet_buffers;
|
||||
}
|
||||
|
||||
/* close each codec */
|
||||
|
|
Loading…
Reference in New Issue