Change-Id: I957c7126ffbcbc614160826ffcb0e8cfa9b7383d
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
break; /* LCOV_EXCL_LINE */
case 36: /* UUID 128bits */
- uuid128 = strdup(uuid); /* LCOV_EXCL_LINE */
+ uuid128 = g_strdup(uuid); /* LCOV_EXCL_LINE */
break; /* LCOV_EXCL_LINE */
default:
if (error_code != BT_ERROR_NONE) { /* LCOV_EXCL_LINE */
BT_ERR("%s(0x%08x)", _bt_convert_error_to_string(error_code), /* LCOV_EXCL_LINE */
error_code); /* LCOV_EXCL_LINE */
+ g_free(uuid128);
return error_code; /* LCOV_EXCL_LINE */
}
+ g_free(uuid128);
return BT_ERROR_NONE;
}
if (error_code != BT_ERROR_NONE) { /* LCOV_EXCL_LINE */
BT_ERR("%s(0x%08x)", _bt_convert_error_to_string(error_code), /* LCOV_EXCL_LINE */
error_code); /* LCOV_EXCL_LINE */
+ g_free(uuid128);
return error_code; /* LCOV_EXCL_LINE */
}
+ g_free(uuid128);
return BT_ERROR_NONE;
}
/* LCOV_EXCL_STOP */