mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
smpte: free mask
Free the memory allocated to 'mask' to avoid memory leak. https://bugzilla.gnome.org/show_bug.cgi?id=754555
This commit is contained in:
parent
290f8be15a
commit
61e3c48ad1
1 changed files with 3 additions and 0 deletions
|
@ -375,6 +375,9 @@ gst_smpte_finalize (GstSMPTE * smpte)
|
|||
if (smpte->collect) {
|
||||
gst_object_unref (smpte->collect);
|
||||
}
|
||||
if (smpte->mask) {
|
||||
gst_mask_destroy (smpte->mask);
|
||||
}
|
||||
|
||||
G_OBJECT_CLASS (parent_class)->finalize ((GObject *) smpte);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue