sun-parts: fix memory leakages
commitf1d770910b29a13255a5fa54173eda827e3361b7
authorblueswirl <blueswirl@f158a5a8-5612-0410-a976-696ce0be7e32>
Tue, 28 Sep 2010 18:59:45 +0000 (28 18:59 +0000)
committerblueswirl <blueswirl@f158a5a8-5612-0410-a976-696ce0be7e32>
Tue, 28 Sep 2010 18:59:45 +0000 (28 18:59 +0000)
tree4e49a977723c03819dae18b6013e999db2e0c056
parent44380aa42ad39f4ab47604862ef10028354edfd7
sun-parts: fix memory leakages

Free the string returned by my_args_copy() also in error cases.

Adjust string parsing to avoid strdup() calls.

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
git-svn-id: svn://openbios.org/openbios/trunk/openbios-devel@866 f158a5a8-5612-0410-a976-696ce0be7e32
packages/sun-parts.c