mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-01-05 05:49:23 +00:00
Free the jpeg decoder with the stream
This commit is contained in:
parent
5059c304be
commit
18485cef06
@ -94,6 +94,7 @@ MJpegDecoder::MJpegDecoder(int width, int height,
|
||||
|
||||
MJpegDecoder::~MJpegDecoder()
|
||||
{
|
||||
jpeg_destroy_decompress(&_cinfo);
|
||||
delete [] _scanline;
|
||||
if (_data) {
|
||||
delete [] _data;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user