Skip to content
Snippets Groups Projects
Commit 93721702 authored by Justin Kim's avatar Justin Kim Committed by Thibault Saunier
Browse files

nleobject: don't leak srcpad when disposing

https://bugzilla.gnome.org/show_bug.cgi?id=754867
parent fe2165ca
No related branches found
No related tags found
Loading
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment