[gupnp-av] Fixed documentation issue with gupnp_didl_lite_object_get_parent_id



commit 7d96e133e1de3591635c6ab20f13f102f5d21fe9
Author: Mark Ryan <mark d ryan intel com>
Date:   Thu Apr 5 13:46:58 2012 +0200

    Fixed documentation issue with gupnp_didl_lite_object_get_parent_id
    
    The documentation instructed the caller to g_free the string returned
    by this function, which he should not do.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=674324

 libgupnp-av/gupnp-didl-lite-object.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/libgupnp-av/gupnp-didl-lite-object.c b/libgupnp-av/gupnp-didl-lite-object.c
index 4482b58..5adacb9 100644
--- a/libgupnp-av/gupnp-didl-lite-object.c
+++ b/libgupnp-av/gupnp-didl-lite-object.c
@@ -962,8 +962,7 @@ gupnp_didl_lite_object_get_id (GUPnPDIDLLiteObject *object)
  *
  * Get the ID of the parent of the @object.
  *
- * Return value: The ID of parent of the @object, or %NULL. #g_free after
- * usage.
+ * Return value: The ID of parent of the @object, or %NULL.
  **/
 const char *
 gupnp_didl_lite_object_get_parent_id (GUPnPDIDLLiteObject *object)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]