mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
nleobject: don't leak srcpad when disposing
https://bugzilla.gnome.org/show_bug.cgi?id=754867
This commit is contained in:
parent
fe2165cad3
commit
937217021e
1 changed files with 5 additions and 0 deletions
|
@ -299,6 +299,11 @@ nle_object_dispose (GObject * object)
|
|||
nle->caps = NULL;
|
||||
}
|
||||
|
||||
if (nle->srcpad) {
|
||||
nle_object_remove_ghost_pad (nle, nle->srcpad);
|
||||
nle->srcpad = NULL;
|
||||
}
|
||||
|
||||
G_OBJECT_CLASS (parent_class)->dispose (object);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue