Fix memory leaks in text-mode process_form_opts
authorDavid Woodhouse <David.Woodhouse@intel.com>
Tue, 19 Jun 2012 16:34:41 +0000 (17:34 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Tue, 19 Jun 2012 16:34:43 +0000 (17:34 +0100)
commit3c790b84c12e9da0a69c17b79cb7d3964e786e63
tree10dbb11ffdd622e510bc4654da6248a9c6995ed6
parent0e6890e02481a8ffc27373fa2eb4eb96d8731edd
Fix memory leaks in text-mode process_form_opts

The caller probably won't free the returned answers if we return error,
so do it locally.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
main.c