@@ -64,7 +64,7 @@ VIR_LOG_INIT("util.string");
64
64
* before calling virStringSplit().
65
65
*
66
66
* Return value: a newly-allocated NULL-terminated array of strings. Use
67
- * virStringListFree () to free it.
67
+ * g_strfreev () to free it.
68
68
*/
69
69
char * *
70
70
virStringSplitCount (const char * string ,
@@ -252,7 +252,7 @@ virStringListMerge(char ***dst,
252
252
for (i = 0 ; i <= src_len ; i ++ )
253
253
(* dst )[i + dst_len ] = (* src )[i ];
254
254
255
- /* Don't call virStringListFree () as it would free strings in
255
+ /* Don't call g_strfreev () as it would free strings in
256
256
* @src. */
257
257
VIR_FREE (* src );
258
258
return 0 ;
@@ -900,7 +900,7 @@ int virStringSortRevCompare(const void *a, const void *b)
900
900
* @matches: pointer to an array to be filled with NULL terminated list of matches
901
901
*
902
902
* 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
904
904
* required.
905
905
*
906
906
* @code
@@ -920,7 +920,7 @@ int virStringSortRevCompare(const void *a, const void *b)
920
920
* // matches[2] == "bbb3c75c-d60f-43b0-b802-fd56b84a4222"
921
921
* // matches[3] == NULL;
922
922
*
923
- * virStringListFree (matches);
923
+ * g_strfreev (matches);
924
924
* @endcode
925
925
*
926
926
* Returns: -1 on error, or number of matches
0 commit comments