summaryrefslogtreecommitdiff
path: root/gstcs/mm_util_gstcs.c
diff options
context:
space:
mode:
Diffstat (limited to 'gstcs/mm_util_gstcs.c')
-rw-r--r--gstcs/mm_util_gstcs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gstcs/mm_util_gstcs.c b/gstcs/mm_util_gstcs.c
index 8188603..0568383 100644
--- a/gstcs/mm_util_gstcs.c
+++ b/gstcs/mm_util_gstcs.c
@@ -637,7 +637,7 @@ static int _mm_imgp_gstcs(imgp_info_s* pImgp_info, unsigned char *src, unsigned
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;
}
@@ -654,7 +654,7 @@ static int _mm_imgp_gstcs(imgp_info_s* pImgp_info, unsigned char *src, unsigned
if (ret != GSTCS_ERROR_NONE)
gstcs_error("Error: _gstcs_create_default_thread is failed");
- GSTCS_FREE(pGstreamer_s);
+ g_free(pGstreamer_s);
return ret;
}