From 9aa8b3f15fc691cc636117c89fbb8960626c99b9 Mon Sep 17 00:00:00 2001 From: Eunhae Choi Date: Mon, 12 Jun 2017 17:34:08 +0900 Subject: [PATCH] opencv: fix mem leak Change-Id: Id26dc8effeed06a789bda89f95aa6aed663fc5ab --- ext/opencv/gstopencvutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/opencv/gstopencvutils.c b/ext/opencv/gstopencvutils.c index 89901bf..c937c8d 100644 --- a/ext/opencv/gstopencvutils.c +++ b/ext/opencv/gstopencvutils.c @@ -114,7 +114,7 @@ gst_opencv_parse_iplimage_params_from_caps (GstCaps * caps, gint * width, *channels = 1; else { g_set_error (err, GST_CORE_ERROR, GST_CORE_ERROR_NEGOTIATION, - "Unsupported caps %s", gst_caps_to_string (caps)); + "Unsupported caps %" GST_PTR_FORMAT, caps); return FALSE; } -- 2.7.4