diff options
Diffstat (limited to 'ext/libfame')
-rw-r--r-- | ext/libfame/gstlibfame.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/libfame/gstlibfame.c b/ext/libfame/gstlibfame.c index b02087907..aa8364a56 100644 --- a/ext/libfame/gstlibfame.c +++ b/ext/libfame/gstlibfame.c @@ -389,7 +389,7 @@ gst_libfame_set_property (GObject *object, guint prop_id, break; case ARG_PATTERN: if (src->pattern) g_free (src->pattern); - src->pattern = (gchar *) g_value_get_string (value); + src->pattern = g_strdup (g_value_get_string (value)); g_warning ("setting pattern to %s\n", src->pattern); break; default: |