diff options
Diffstat (limited to 'ext/neon')
-rw-r--r-- | ext/neon/gstneonhttpsrc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/neon/gstneonhttpsrc.c b/ext/neon/gstneonhttpsrc.c index ad3a89cf5..080216d5d 100644 --- a/ext/neon/gstneonhttpsrc.c +++ b/ext/neon/gstneonhttpsrc.c @@ -321,7 +321,7 @@ gst_neonhttp_src_set_property (GObject * object, guint prop_id, } case PROP_USER_AGENT: g_free (src->user_agent); - src->user_agent = g_strdup (g_value_get_string (value)); + src->user_agent = g_value_dup_string (value); break; case PROP_COOKIES: if (src->cookies) |