_player_release_internal_memory(pc, true);
#ifdef TIZEN_FEATURE_EVAS_RENDERER
- if (CALLBACK_INFO(pc) && EVAS_INFO(pc)->support_video) {
- if (EVAS_HANDLE(pc)) {
+ if (CALLBACK_INFO(pc) && EVAS_INFO(pc)) {
+ if (EVAS_INFO(pc)->support_video && EVAS_HANDLE(pc)) {
player_unset_media_packet_video_frame_decoded_cb(player);
PLAYER_DISP_DLSYM(pc->dl_handle, p_disp_destroy_evas_display, "disp_destroy_evas_display");
if (p_disp_destroy_evas_display(&EVAS_HANDLE(pc)) != MM_ERROR_NONE)
LOGW("fail to unset evas client");
__player_unset_retrieve_buffer_cb(player);
- g_free(pc->cb_info->evas_info);
}
+ g_free(EVAS_INFO(pc));
}
#endif