diff options
-rw-r--r-- | sys/oss/gstosssrc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/oss/gstosssrc.c b/sys/oss/gstosssrc.c index 742c59dc4..60c9e0534 100644 --- a/sys/oss/gstosssrc.c +++ b/sys/oss/gstosssrc.c @@ -181,8 +181,7 @@ gst_oss_src_set_property (GObject * object, guint prop_id, switch (prop_id) { case PROP_DEVICE: - if (src->device) - g_free (src->device); + g_free (src->device); src->device = g_value_dup_string (value); break; default: |