forked from enlightenment/efl
elementary/naviframe - no need to allocate item pair when content is NULL
SVN revision: 65889
This commit is contained in:
parent
25d9ba0731
commit
51609f5f5f
|
@ -583,6 +583,8 @@ _title_content_set(Elm_Naviframe_Item *it,
|
|||
}
|
||||
else
|
||||
{
|
||||
if (!content) return;
|
||||
|
||||
pair = ELM_NEW(Elm_Naviframe_Content_Item_Pair);
|
||||
if (!pair)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue