Improve error handling.
commite49464b38735585eaa0ce01f5734c0bcfad851dd
authorDominik Riebeling <Dominik.Riebeling@gmail.com>
Sat, 5 Jun 2010 08:58:30 +0000 (5 08:58 +0000)
committerDominik Riebeling <Dominik.Riebeling@gmail.com>
Sat, 5 Jun 2010 08:58:30 +0000 (5 08:58 +0000)
tree6a5eed99d5bdad8ebc75fe5b9aeb7306a7418bd0
parent219f5db1dcd779f0373d1b97d3878df5b3ab801f
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