summaryrefslogtreecommitdiff
path: root/ext/gl/gstglbumper.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/gl/gstglbumper.c')
-rw-r--r--ext/gl/gstglbumper.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/gl/gstglbumper.c b/ext/gl/gstglbumper.c
index 188663b46..5820fac36 100644
--- a/ext/gl/gstglbumper.c
+++ b/ext/gl/gstglbumper.c
@@ -329,8 +329,7 @@ gst_gl_bumper_set_property (GObject * object, guint prop_id,
switch (prop_id) {
case PROP_LOCATION:
- if (bumper->location != NULL)
- g_free (bumper->location);
+ g_free (bumper->location);
bumper->location = g_value_dup_string (value);
break;
default: