@@ -64,7 +64,7 @@ VIR_LOG_INIT("util.string");
6464 * before calling virStringSplit().
6565 *
6666 * Return value: a newly-allocated NULL-terminated array of strings. Use
67- * virStringListFree () to free it.
67+ * g_strfreev () to free it.
6868 */
6969char * *
7070virStringSplitCount (const char * string ,
@@ -252,7 +252,7 @@ virStringListMerge(char ***dst,
252252 for (i = 0 ; i <= src_len ; i ++ )
253253 (* dst )[i + dst_len ] = (* src )[i ];
254254
255- /* Don't call virStringListFree () as it would free strings in
255+ /* Don't call g_strfreev () as it would free strings in
256256 * @src. */
257257 VIR_FREE (* src );
258258 return 0 ;
@@ -900,7 +900,7 @@ int virStringSortRevCompare(const void *a, const void *b)
900900 * @matches: pointer to an array to be filled with NULL terminated list of matches
901901 *
902902 * Performs a POSIX extended regex search against a string and return all matching substrings.
903- * The @matches value should be freed with virStringListFree () when no longer
903+ * The @matches value should be freed with g_strfreev () when no longer
904904 * required.
905905 *
906906 * @code
@@ -920,7 +920,7 @@ int virStringSortRevCompare(const void *a, const void *b)
920920 * // matches[2] == "bbb3c75c-d60f-43b0-b802-fd56b84a4222"
921921 * // matches[3] == NULL;
922922 *
923- * virStringListFree (matches);
923+ * g_strfreev (matches);
924924 * @endcode
925925 *
926926 * Returns: -1 on error, or number of matches
0 commit comments