elementary/naviframe - no need to allocate item pair when content is NULL

SVN revision: 65889
This commit is contained in:
ChunEon Park 2011-12-05 07:28:52 +00:00
parent 25d9ba0731
commit 51609f5f5f
1 changed files with 2 additions and 0 deletions

View File

@ -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)
{