Oops - enomem return inside of conditional block
authorKrista Bennett <krista@pep-project.org>
Tue, 24 Oct 2017 11:25:48 +0200
changeset 2192e64be60a4d49
parent 2189 598eb3551521
child 2193 0dc7346c26fc
Oops - enomem return inside of conditional block
src/message_api.c
     1.1 --- a/src/message_api.c	Mon Oct 23 13:19:49 2017 +0200
     1.2 +++ b/src/message_api.c	Tue Oct 24 11:25:48 2017 +0200
     1.3 @@ -815,8 +815,8 @@
     1.4  enomem:
     1.5      if (!envelope) {
     1.6          free(_envelope);
     1.7 -        return NULL;
     1.8      }
     1.9 +    return NULL;    
    1.10  }
    1.11  
    1.12  static PEP_STATUS encrypt_PGP_MIME(