Change-Id: Id599c5b40b251a0a30e30177976f5682c091889d
LOGD(FONT_COLOR_YELLOW"<LEAVE>"FONT_COLOR_RESET); \
} while (0)
-#define GSTCS_FREE(src) { if (src) {g_free(src); src = NULL; } }
typedef struct _image_format_s {
mm_util_color_format_e color_format;
int width;
ret = _gstcs_create_default_thread(pGstreamer_s);
if (ret != GSTCS_ERROR_NONE) {
gstcs_error("Error: _gstcs_create_default_thread is failed");
- GSTCS_FREE(pGstreamer_s);
+ g_free(pGstreamer_s);
return ret;
}
if (ret != GSTCS_ERROR_NONE)
gstcs_error("Error: _gstcs_create_default_thread is failed");
- GSTCS_FREE(pGstreamer_s);
+ g_free(pGstreamer_s);
return ret;
}