1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00
Werner Koch 8ea3b4c410
gpg: Use usual free semantics for packet structure free functions.
* g10/free-packet.c (free_attributes): Turn function into a nop for a
NULL arg.
(free_user_id): Ditto.
(free_compressed): Ditto.
(free_encrypted): Ditto.
(free_plaintext): Ditto.
(release_public_key_parts): Avoid extra check for NULL.
* g10/getkey.c (get_best_pubkey_byname): Ditto.
--

This change avoid surprises because it is common that function named
like free and taking a pointer also have similar semantics.

Signed-off-by: Werner Koch <wk@gnupg.org>
2016-11-15 16:24:09 +01:00
..
2014-10-31 14:21:34 +01:00
2015-02-04 09:15:34 +01:00
2016-11-15 13:06:49 +01:00
2015-02-04 09:15:34 +01:00
2016-11-15 21:10:51 +09:00
2016-11-14 17:33:18 +01:00
2016-01-22 10:54:10 +01:00
2016-03-08 14:08:49 +01:00