am e3f9c573: Free some strings in error paths

* commit 'e3f9c573d0edb186f4583fea1dbcdf9c12c0c36c':
  Free some strings in error paths