aboutsummaryrefslogtreecommitdiffstats
path: root/tests/gpg/t-encrypt-sym.c
diff options
context:
space:
mode:
authorJustus Winter <[email protected]>2016-06-27 15:56:18 +0000
committerJustus Winter <[email protected]>2016-06-27 16:14:02 +0000
commit62d10c2a38160ef539a784b96960a6b5e3d8d6b6 (patch)
tree87a157d07966241b0f5c84817749ad111a22fde0 /tests/gpg/t-encrypt-sym.c
parentCpp: Expose new data_identify values (diff)
downloadgpgme-62d10c2a38160ef539a784b96960a6b5e3d8d6b6.tar.gz
gpgme-62d10c2a38160ef539a784b96960a6b5e3d8d6b6.zip
tests: Fix trivial memory leaks.
-- Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to 'tests/gpg/t-encrypt-sym.c')
-rw-r--r--tests/gpg/t-encrypt-sym.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/gpg/t-encrypt-sym.c b/tests/gpg/t-encrypt-sym.c
index 51a3fc1b..42dc3ca4 100644
--- a/tests/gpg/t-encrypt-sym.c
+++ b/tests/gpg/t-encrypt-sym.c
@@ -92,6 +92,7 @@ main (int argc, char *argv[])
}
gpgme_data_release (cipher);
+ free (text2);
gpgme_release (ctx);
return 0;