elm/map: Free buffer on error path

SVN revision: 81342
This commit is contained in:
Stefan Schmidt 2012-12-19 10:28:20 +00:00
parent 457848df53
commit d0793194b5
1 changed files with 2 additions and 0 deletions

View File

@ -2941,6 +2941,8 @@ _name_list_parse(Elm_Map_Name_List *nl)
eina_simple_xml_parse
(buf, sz, EINA_TRUE, _xml_name_dump_list_cb, nl);
}
else
free(buf);
}
}
fclose(f);