[0.11] gstreamer: gststructure: Set "transfer none" to return values that shouldn't be freed

Edward Hervey bilboed at kemper.freedesktop.org
Thu Jan 26 10:00:36 PST 2012


Module: gstreamer
Branch: 0.11
Commit: 479b7ff5f1282f3b63641e59b2de09848a30657b
URL:    http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=479b7ff5f1282f3b63641e59b2de09848a30657b

Author: Edward Hervey <edward.hervey at collabora.co.uk>
Date:   Thu Jan 26 18:53:51 2012 +0100

gststructure: Set "transfer none" to return values that shouldn't be freed

---

 gst/gststructure.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gst/gststructure.c b/gst/gststructure.c
index 5310092..33918e3 100644
--- a/gst/gststructure.c
+++ b/gst/gststructure.c
@@ -2232,7 +2232,7 @@ gst_structure_parse_value (gchar * str,
 /**
  * gst_structure_from_string:
  * @string: a string representation of a #GstStructure.
- * @end: (out) (allow-none): pointer to store the end of the string in.
+ * @end: (out) (allow-none) (transfer none): pointer to store the end of the string in.
  *
  * Creates a #GstStructure from a string representation.
  * If end is not NULL, a pointer to the place inside the given string



More information about the gstreamer-commits mailing list