mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +01:00
scd: Improve error handling.
* scd/app-openpgp.c (get_public_key): Improve error handling. -- Backport master commit: 6a37b45a7f13cf5d2ae7d6c9cd796a4bd197b80d Found using the Clang Static Analyzer. Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
parent
d4316d1374
commit
d87699597f
@ -1362,7 +1362,7 @@ get_public_key (app_t app, int keyno)
|
||||
xfree (buffer);
|
||||
xfree (mbuf);
|
||||
xfree (ebuf);
|
||||
return 0;
|
||||
return err;
|
||||
}
|
||||
#endif /* GNUPG_MAJOR_VERSION > 1 */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user