[glib] glib: Improve documentation for g_strfreev()



commit 6c080721fc1879d8c92176fe630e00122110ea2e
Author: Alberto Ruiz <aruiz gnome org>
Date:   Tue Nov 18 14:43:41 2014 +0000

    glib: Improve documentation for g_strfreev()
    
    Fixes #740309.

 glib/gstrfuncs.c |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/glib/gstrfuncs.c b/glib/gstrfuncs.c
index f33f84b..0a9b109 100644
--- a/glib/gstrfuncs.c
+++ b/glib/gstrfuncs.c
@@ -2413,9 +2413,11 @@ g_strsplit_set (const gchar *string,
 /**
  * g_strfreev:
  * @str_array: a %NULL-terminated array of strings to free
-
- * Frees a %NULL-terminated array of strings, and the array itself.
- * If called on a %NULL value, g_strfreev() simply returns.
+ *
+ * Frees a %NULL-terminated array of strings, as well as each
+ * string it contains.
+ *
+ * If @str_array is %NULL, this function simply returns.
  */
 void
 g_strfreev (gchar **str_array)


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