summaryrefslogtreecommitdiffstats
path: root/sys/oss/gstosssink.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/oss/gstosssink.c')
-rw-r--r--sys/oss/gstosssink.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/oss/gstosssink.c b/sys/oss/gstosssink.c
index 9985427c..96ed3d1a 100644
--- a/sys/oss/gstosssink.c
+++ b/sys/oss/gstosssink.c
@@ -237,7 +237,9 @@ gst_osssink_sink_fixate (GstPad *pad, const GstCaps *caps, gpointer user_data)
return newcaps;
}
- return newcaps;
+ gst_caps_free (newcaps);
+
+ return NULL;
}
static GstPadLinkReturn