Change-Id: I1bd9bb19387031ccae8f3ed19c3054ea32c6c27c
Signed-off-by: Ravi Kiran K N <ravi.kiran@samsung.com>
int nDestH, int nMinW, int nMinH,
int *nResultW, int *nResultH)
{
- if (nSrcH == 0 || nSrcW == 0 || nDestW == 0 || nDestW == 0) {
+ if (nSrcH == 0 || nSrcW == 0 || nDestH == 0 || nDestW == 0) {
vp_dbgE("invalid param : (src %d x %d) , (dest %d x %d)", nSrcW,
nSrcH, nDestW, nDestH);
return FALSE;
szNode->szLanguageName = pName;
szNode->szMcc = pMcc;
g_pLanglist = eina_list_append(g_pLanglist, szNode);
+ } else {
+ VP_FREE(pId);
+ VP_FREE(pName);
+ VP_FREE(pMcc);
}
}
}
if (!_vp_subtitle_font_add_genlist_item
(pSubtitleFont->pGenList, (void *) pSubtitleFont)) {
VideoLogError("_vp_subtitle_font_add_genlist_item fail");
- return FALSE;
+ _vp_subtitle_font_destroy_handle(pSubtitleFont);
+ return NULL;
}
evas_object_smart_callback_add(pSubtitleFont->pParent,
if (!g_pFolderView) {
g_pFolderView = (stFolderView *) calloc(1, sizeof(stFolderView));
+ if (!g_pFolderView) {
+ return;
+ }
}
g_pFolderView->bItemSelected = false;