gststructure: Set "transfer none" to return values that shouldn't be freed
authorEdward Hervey <edward.hervey@collabora.co.uk>
Thu, 26 Jan 2012 17:53:51 +0000 (18:53 +0100)
committerEdward Hervey <edward.hervey@collabora.co.uk>
Thu, 26 Jan 2012 17:54:50 +0000 (18:54 +0100)
gst/gststructure.c

index 5310092..33918e3 100644 (file)
@@ -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