changeset 3828:d31089ffe40a

make sure tuple data itself is sanitized utf8 too.
author William Pitcock <nenolod@atheme.org>
date Sun, 21 Oct 2007 07:06:17 -0500
parents fd86a88426f4
children 710a31107239
files src/audacious/tuple.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/tuple.c	Sun Oct 21 07:05:38 2007 -0500
+++ b/src/audacious/tuple.c	Sun Oct 21 07:06:17 2007 -0500
@@ -253,7 +253,7 @@
     if (string == NULL)
         value->value.string = NULL;
     else
-        value->value.string = g_strdup(string);
+        value->value.string = str_to_utf8(string);
 
     TUPLE_UNLOCK_WRITE();
     return TRUE;