mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 15:48:23 +00:00
souphttpsrc: remove unnecessary if, g_free is null safe
This commit is contained in:
parent
9dcc7d9cac
commit
cb852cd128
1 changed files with 1 additions and 2 deletions
|
@ -659,7 +659,6 @@ gst_soup_http_src_set_property (GObject * object, guint prop_id,
|
|||
src->max_retries = g_value_get_int (value);
|
||||
break;
|
||||
case PROP_METHOD:
|
||||
if (src->method)
|
||||
g_free (src->method);
|
||||
src->method = g_value_dup_string (value);
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue