nleoperation: don't leak iterator
authorJustin Kim <justin.kim@collabora.com>
Fri, 2 Oct 2015 14:11:33 +0000 (16:11 +0200)
committerThibault Saunier <tsaunier@gnome.org>
Fri, 2 Oct 2015 14:20:36 +0000 (16:20 +0200)
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

plugins/nle/nleoperation.c

index 9387de0..686c7b4 100644 (file)
@@ -785,6 +785,8 @@ nle_operation_hard_cleanup (NleOperation * operation)
     }
   }
   nle_object_cleanup (NLE_OBJECT (operation));
+
+  gst_iterator_free (pads);
 }