mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-06 23:48:53 +00:00
sunaudiosrc: remove unnecessary NULL checks before g_free()
This commit is contained in:
parent
678e45a8f7
commit
e882989201
1 changed files with 1 additions and 2 deletions
|
@ -177,7 +177,6 @@ gst_sunaudiosrc_set_property (GObject * object, guint prop_id,
|
||||||
|
|
||||||
switch (prop_id) {
|
switch (prop_id) {
|
||||||
case PROP_DEVICE:
|
case PROP_DEVICE:
|
||||||
if (sunaudiosrc->device)
|
|
||||||
g_free (sunaudiosrc->device);
|
g_free (sunaudiosrc->device);
|
||||||
sunaudiosrc->device = g_value_dup_string (value);
|
sunaudiosrc->device = g_value_dup_string (value);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue