mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
common: Add 'free_strlist_wipe' which wipes memory.
* common/strlist.c (free_strlist_wipe): New function. * common/strlist.h (free_strlist_wipe): New prototype. Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
parent
95303ee11d
commit
c6d1f2f08c
2 changed files with 16 additions and 0 deletions
|
@ -40,6 +40,8 @@ struct string_list
|
|||
typedef struct string_list *strlist_t;
|
||||
|
||||
void free_strlist (strlist_t sl);
|
||||
void free_strlist_wipe (strlist_t sl);
|
||||
|
||||
strlist_t add_to_strlist (strlist_t *list, const char *string);
|
||||
strlist_t add_to_strlist_try (strlist_t *list, const char *string);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue