no if no typo :-P
authorVolker Birk <vb@pep-project.org>
Fri, 27 May 2016 11:46:24 +0200
changeset 689bce702a2bfa0
parent 688 fbe82fd1da34
child 690 3ae86b68fdfe
child 693 45ac944f2b2e
no if no typo :-P
src/keymanagement.c
     1.1 --- a/src/keymanagement.c	Fri May 27 11:42:35 2016 +0200
     1.2 +++ b/src/keymanagement.c	Fri May 27 11:46:24 2016 +0200
     1.3 @@ -304,10 +304,8 @@
     1.4      {
     1.5          stringlist_t *keylist = NULL;
     1.6  
     1.7 -        if (identity->fpr != NULL) {
     1.8 -            free(identity->fpr);
     1.9 -            identity->fpr = NULL;
    1.10 -        }
    1.11 +        free(identity->fpr);
    1.12 +        identity->fpr = NULL;
    1.13  
    1.14          status = find_keys(session, identity->address, &keylist);
    1.15          assert(status != PEP_OUT_OF_MEMORY);