Hadn't initialised mime_plaintext. Bad. :(
authorKrista Bennett <krista@pep-project.org>
Wed, 10 May 2017 08:14:34 +0200
changeset 1774de28667b0495
parent 1773 362524f3e270
child 1775 ae8a180c113f
Hadn't initialised mime_plaintext. Bad. :(
src/message_api.c
     1.1 --- a/src/message_api.c	Tue May 09 18:19:55 2017 +0200
     1.2 +++ b/src/message_api.c	Wed May 10 08:14:34 2017 +0200
     1.3 @@ -2494,6 +2494,7 @@
     1.4      PEP_STATUS status = PEP_STATUS_OK;
     1.5      message* tmp_msg = NULL;
     1.6      message* dec_msg = NULL;
     1.7 +    *mime_plaintext = NULL;
     1.8  
     1.9      status = mime_decode_message(mimetext, size, &tmp_msg);
    1.10      if (status != PEP_STATUS_OK)