mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 20:05:38 +00:00
diracenc: fix codec state leak
This commit is contained in:
parent
1275b30725
commit
5f8e9cefa2
1 changed files with 3 additions and 0 deletions
|
@ -407,6 +407,9 @@ gst_dirac_enc_finalize (GObject * object)
|
|||
dirac_enc->codec_data = NULL;
|
||||
}
|
||||
|
||||
if (dirac_enc->input_state)
|
||||
gst_video_codec_state_unref (dirac_enc->input_state);
|
||||
|
||||
G_OBJECT_CLASS (parent_class)->finalize (object);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue