projects
/
platform
/
upstream
/
gstreamer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
close #333784 unref the result of gst_pad_get_parent() by: Christophe Fergeau.
[platform/upstream/gstreamer.git]
/
ext
/
jpeg
/
gstsmokeenc.c
diff --git
a/ext/jpeg/gstsmokeenc.c
b/ext/jpeg/gstsmokeenc.c
index
392f0a8
..
cd499f8
100644
(file)
--- a/
ext/jpeg/gstsmokeenc.c
+++ b/
ext/jpeg/gstsmokeenc.c
@@
-228,6
+228,8
@@
gst_smokeenc_getcaps (GstPad * pad)
}
}
+ gst_object_unref (smokeenc);
+
return caps;
}
@@
-270,6
+272,8
@@
gst_smokeenc_setcaps (GstPad * pad, GstCaps * caps)
gst_smokeenc_resync (smokeenc);
}
+ gst_object_unref (smokeenc);
+
return ret;
}