small bugfixes
authorVolker Birk <vb@pep.foundation>
Sun, 21 Oct 2018 17:11:12 +0200
changeset 3088ed6200e57c65
parent 3063 33907822c832
child 3095 4df9a15497c2
small bugfixes
src/pgp_netpgp.c
     1.1 --- a/src/pgp_netpgp.c	Tue Oct 16 12:29:57 2018 +0200
     1.2 +++ b/src/pgp_netpgp.c	Sun Oct 21 17:11:12 2018 +0200
     1.3 @@ -1424,7 +1424,6 @@
     1.4          request[HKP_REQ_PREFIX_LEN + encoded_key_len] = '\0';
     1.5  
     1.6          if(!stringlist_add(encoded_keys, request)){
     1.7 -            free(request);
     1.8              result = PEP_OUT_OF_MEMORY;
     1.9          }
    1.10  
    1.11 @@ -1953,7 +1952,7 @@
    1.12          *has_private = true;
    1.13      }
    1.14      else {
    1.15 -        has_private = false;
    1.16 +        *has_private = false;
    1.17      }
    1.18      return status;
    1.19  }