add free(filename) here, too
authorRoker <roker@pep-project.org>
Wed, 13 Jul 2016 23:25:35 +0200
changeset 866b68fb7922e30
parent 864 b0be088fbcb7
child 869 d1e17cdf5aa6
add free(filename) here, too
src/message_api.c
     1.1 --- a/src/message_api.c	Wed Jul 13 23:20:42 2016 +0200
     1.2 +++ b/src/message_api.c	Wed Jul 13 23:25:35 2016 +0200
     1.3 @@ -568,6 +568,7 @@
     1.4  
     1.5                      _d = bloblist_add(_d, _ctext, csize, "application/octet-stream",
     1.6                          filename);
     1.7 +                    free(filename);
     1.8                      if (_d == NULL)
     1.9                          goto enomem;
    1.10                  }