Fix cleanup in the case of errors
authorDmitry Kasatkin <d.kasatkin@samsung.com>
Wed, 28 Aug 2013 12:02:36 +0000 (15:02 +0300)
committerDmitry Kasatkin <d.kasatkin@samsung.com>
Wed, 28 Aug 2013 12:20:16 +0000 (15:20 +0300)
commitd7d74e5648aea0d551e506c7667f4d283e1c3fe7
treef04995708d1760d828caefe503c3b6f9824dbdcf
parent15dab873b55235365335b1860caa6531bcf11320
Fix cleanup in the case of errors

Proper memory cleanup is not really necessary for command line
utility because all memory is cleaned up when it quits. But as
code does it most of the cases, fix other places.

Signed-off-by: Dmitry Kasatkin <d.kasatkin@samsung.com>
src/evmctl.c