Browse Source

freeing what could not be added

doc_update_sequoia
Volker Birk 6 years ago
parent
commit
ccb25c2ea6
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      src/keymanagement.c

+ 3
- 1
src/keymanagement.c View File

@ -764,8 +764,10 @@ DYNAMIC_API PEP_STATUS own_identities_retrieve(
ident->flags = flags;
_bl = identity_list_add(_bl, ident);
if (_bl == NULL)
if (_bl == NULL) {
free_identity(ident);
goto enomem;
}
break;


Loading…
Cancel
Save