Duplicates a string. If str is NULL it returns NULL. The returned string should be freed with g_free() when no longer needed.
the string to duplicate
a newly-allocated copy of str
See Implementation
Duplicates a string. If str is NULL it returns NULL. The returned string should be freed with g_free() when no longer needed.