zrle: Unref result in destroy
parent
b525608a06
commit
73e1089f06
|
@ -414,6 +414,8 @@ static void zrle_encoder_destroy(struct encoder* encoder)
|
||||||
deflateEnd(&self->zs);
|
deflateEnd(&self->zs);
|
||||||
if (self->work)
|
if (self->work)
|
||||||
aml_unref(self->work);
|
aml_unref(self->work);
|
||||||
|
if (self->current_result)
|
||||||
|
rcbuf_unref(self->current_result);
|
||||||
free(self);
|
free(self);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue