summaryrefslogtreecommitdiff
path: root/ext/opus/gstopusenc.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/opus/gstopusenc.c')
-rw-r--r--ext/opus/gstopusenc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/opus/gstopusenc.c b/ext/opus/gstopusenc.c
index d4a685adc..9214837ca 100644
--- a/ext/opus/gstopusenc.c
+++ b/ext/opus/gstopusenc.c
@@ -1091,8 +1091,7 @@ done:
if (bdata)
gst_buffer_unmap (buf, &map);
- if (mdata)
- g_free (mdata);
+ g_free (mdata);
return ret;
}