opencv: fix mem leak 44/133444/1
authorEunhae Choi <eunhae1.choi@samsung.com>
Mon, 12 Jun 2017 08:34:08 +0000 (17:34 +0900)
committerEunhae Choi <eunhae1.choi@samsung.com>
Mon, 12 Jun 2017 08:34:08 +0000 (17:34 +0900)
Change-Id: Id26dc8effeed06a789bda89f95aa6aed663fc5ab

ext/opencv/gstopencvutils.c

index 89901bfefcaa9efbc6a4922ed67245603950d579..c937c8d31cbd090710cd40c451654e6bed6a9d43 100644 (file)
@@ -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;
   }