core: Don't leak memory if error is unknown
authorErwan Velu <erwan@enovance.com>
Mon, 22 Jul 2013 21:46:10 +0000 (23:46 +0200)
committerErwan Velu <erwan@enovance.com>
Mon, 22 Jul 2013 21:47:05 +0000 (23:47 +0200)
commit0fddbf7a07fa4d6501e7a2fcf2b058325affba57
treef033bfbe2ceee30fb84f81b77abfde061f5817a6
parentee0ccb794be1d3c677e2c02b416a8702d59811d7
core: Don't leak memory if error is unknown

If error is unknown, the "return 1" call was not freeing error which was
malloced at the beginning of the function.
options.c