From 825b9552baabb6027f9c15d1b6b76fa2cbba755d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sat, 17 Feb 2018 00:16:35 +0200 Subject: [PATCH] advanced/pipeline-manipulation: Unref appsink after usage --- .../application-development/advanced/pipeline-manipulation.md | 1 + 1 file changed, 1 insertion(+) diff --git a/markdown/application-development/advanced/pipeline-manipulation.md b/markdown/application-development/advanced/pipeline-manipulation.md index 47bb00a860..ecc5f1b1ed 100644 --- a/markdown/application-development/advanced/pipeline-manipulation.md +++ b/markdown/application-development/advanced/pipeline-manipulation.md @@ -881,6 +881,7 @@ main (int argc, char *argv[]) /* cleanup and exit */ gst_element_set_state (pipeline, GST_STATE_NULL); + gst_object_unref (sink); gst_object_unref (pipeline); exit (0);