diff options
-rw-r--r-- | server/mjpeg_encoder.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/mjpeg_encoder.c b/server/mjpeg_encoder.c index ecb46dfe..4d004549 100644 --- a/server/mjpeg_encoder.c +++ b/server/mjpeg_encoder.c @@ -226,6 +226,7 @@ MJpegEncoder *mjpeg_encoder_new(uint64_t starting_bit_rate, void mjpeg_encoder_destroy(MJpegEncoder *encoder) { + free(encoder->cinfo.dest); jpeg_destroy_compress(&encoder->cinfo); free(encoder->row); free(encoder); |