fixed memory leak in myself ENGINE-140
authorEdouard Tisserant <edouard@pep-project.org>
Thu, 10 Nov 2016 01:35:59 +0100
branchENGINE-140
changeset 136748449a2a81ed
parent 1366 7fe33611a1bb
child 1368 67a5dc1a97f8
fixed memory leak in myself
src/keymanagement.c
     1.1 --- a/src/keymanagement.c	Thu Nov 10 01:34:46 2016 +0100
     1.2 +++ b/src/keymanagement.c	Thu Nov 10 01:35:59 2016 +0100
     1.3 @@ -442,6 +442,8 @@
     1.4          }
     1.5  
     1.6          identity->flags = stored_identity->flags;
     1.7 +
     1.8 +        free_identity(stored_identity);
     1.9      }
    1.10      else if (!EMPTYSTR(identity->fpr))
    1.11      {