diff --git a/subprojects/gst-plugins-bad/tests/check/elements/lc3.c b/subprojects/gst-plugins-bad/tests/check/elements/lc3.c index e2f6438a15..07d79d1765 100644 --- a/subprojects/gst-plugins-bad/tests/check/elements/lc3.c +++ b/subprojects/gst-plugins-bad/tests/check/elements/lc3.c @@ -252,7 +252,7 @@ static GstBuffer * create_test_buffer (guint64 num, guint64 size) { GstBuffer *buffer; - guint64 *data = g_malloc (size); + guint64 *data = g_malloc0 (size); *data = num;