summaryrefslogtreecommitdiff
path: root/ext/timidity/gsttimidity.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/timidity/gsttimidity.c')
-rw-r--r--ext/timidity/gsttimidity.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/timidity/gsttimidity.c b/ext/timidity/gsttimidity.c
index 086779538..418a5fe4c 100644
--- a/ext/timidity/gsttimidity.c
+++ b/ext/timidity/gsttimidity.c
@@ -588,8 +588,7 @@ gst_timidity_loop (GstPad * sinkpad)
goto paused;
}
- if (timidity->mididata)
- g_free (timidity->mididata);
+ g_free (timidity->mididata);
timidity->mididata = g_malloc (timidity->mididata_size);
timidity->mididata_offset = 0;