summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2018-02-17 00:16:35 +0200
committerSebastian Dröge <sebastian@centricular.com>2018-02-17 00:16:35 +0200
commit825b9552baabb6027f9c15d1b6b76fa2cbba755d (patch)
tree0d253c35db4292765ae4f0b02aa7dd9fe00a5314
parent903cb33dae68ed0fb6fce36b3f97d34b30ec61b7 (diff)
advanced/pipeline-manipulation: Unref appsink after usage
-rw-r--r--markdown/application-development/advanced/pipeline-manipulation.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/markdown/application-development/advanced/pipeline-manipulation.md b/markdown/application-development/advanced/pipeline-manipulation.md
index 47bb00a..ecc5f1b 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);