Fix unchecked result skin_parse_tag() exposed by r28480.
commit4abe87767e0e7220ef15450a684dc2ebe8eed2b5
authorkugel <kugel@a1c6a512-1295-4272-9138-f99709370657>
Fri, 5 Nov 2010 18:46:21 +0000 (5 18:46 +0000)
committerkugel <kugel@a1c6a512-1295-4272-9138-f99709370657>
Fri, 5 Nov 2010 18:46:21 +0000 (5 18:46 +0000)
tree01da35d26af935bd81403414b15b9f9fc8ecd4ea
parent3ba5502fe7eeac0259b20033d5a9e0012830a983
Fix unchecked result skin_parse_tag() exposed by r28480.

It caused the parser to not see that skin parsing failed and to enter an infinite loop.
And as a result it continued to endlessly malloc(). In normal build the skin buffer size limit made it end.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28497 a1c6a512-1295-4272-9138-f99709370657
lib/skin_parser/skin_parser.c