nleoperation: don't leak iterator

Summary: Once an iterator is created, it should be freed after usage.

Reviewers: thiblahute

Projects: #gstreamer_editing_services

Reviewed By: thiblahute

Differential Revision: https://phabricator.freedesktop.org/D318
This commit is contained in:
Justin Kim 2015-10-02 16:11:33 +02:00 committed by Thibault Saunier
parent 8bce0baf62
commit d6b37d0f4d

View file

@ -785,6 +785,8 @@ nle_operation_hard_cleanup (NleOperation * operation)
} }
} }
nle_object_cleanup (NLE_OBJECT (operation)); nle_object_cleanup (NLE_OBJECT (operation));
gst_iterator_free (pads);
} }