core: Fix error return.

* src/engine.c (_gpgme_set_engine_info): Add error return.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
NIIBE Yutaka 2019-04-19 11:32:29 +09:00
parent 140d694e1f
commit 814f6c8de8

View File

@ -461,6 +461,7 @@ _gpgme_set_engine_info (gpgme_engine_info_t info, gpgme_protocol_t proto,
{
free (new_file_name);
free (new_home_dir);
return gpg_error_from_syserror ();
}
}