Improve error handling.
commit5fb4aaf23ee925364f59b1be2d6dc94d3cad1b1e
authorbluebrother <bluebrother@a1c6a512-1295-4272-9138-f99709370657>
Sat, 5 Jun 2010 08:58:30 +0000 (5 08:58 +0000)
committerbluebrother <bluebrother@a1c6a512-1295-4272-9138-f99709370657>
Sat, 5 Jun 2010 08:58:30 +0000 (5 08:58 +0000)
tree6a5eed99d5bdad8ebc75fe5b9aeb7306a7418bd0
parent31f26a27aaf65e22028e3c2250fe21577718324f
Improve error handling.

Add some more return checks and fix a memleak on error. Addresses warnings when
building with Rockbox Utility.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26569 a1c6a512-1295-4272-9138-f99709370657
tools/wavtrim.c