[Problem] Kona RQ161102-00322
Change-Id: Iea9f5534a2c671837b549e37b567dea6b6999c49
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
Name: capi-media-controller
Summary: A media controller library in Tizen Native API
-Version: 0.1.26
+Version: 0.1.27
Release: 1
Group: Multimedia/API
License: Apache-2.0
mc_svc_data_t *mc_svc_data = NULL;
uid_t uid = DEFAULT_USER_UID;
- mc_svc_data = (mc_svc_data_t *)g_malloc(sizeof(mc_svc_data_t));
+ mc_svc_data = (mc_svc_data_t *)calloc(1, sizeof(mc_svc_data_t));
if (mc_svc_data == NULL) {
mc_error("Failed to allocate svc data");
return FALSE;
}
- memset(mc_svc_data, 0, sizeof(mc_svc_data_t));
ret = __mc_sys_get_uid(&uid);
if (ret < 0) {