mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
scd: Improve error handling.
* scd/app-openpgp.c (get_public_key): Improve error handling. -- Found using the Clang Static Analyzer. Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
parent
f596f8defa
commit
6a37b45a7f
1 changed files with 1 additions and 1 deletions
|
@ -1468,7 +1468,7 @@ get_public_key (app_t app, int keyno)
|
||||||
xfree (buffer);
|
xfree (buffer);
|
||||||
xfree (mbuf);
|
xfree (mbuf);
|
||||||
xfree (ebuf);
|
xfree (ebuf);
|
||||||
return 0;
|
return err;
|
||||||
}
|
}
|
||||||
#endif /* GNUPG_MAJOR_VERSION > 1 */
|
#endif /* GNUPG_MAJOR_VERSION > 1 */
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue