aboutsummaryrefslogtreecommitdiffstats
path: root/tests/run-threaded.c
diff options
context:
space:
mode:
authorAndre Heinecke <[email protected]>2019-02-11 14:32:49 +0000
committerAndre Heinecke <[email protected]>2019-02-11 14:33:34 +0000
commitf8312d7c333193582dcb5816198219b9564023f0 (patch)
tree4fd6a1b238d8feac7d2d874a1847549e2393f5f1 /tests/run-threaded.c
parentpython: examples (diff)
downloadgpgme-f8312d7c333193582dcb5816198219b9564023f0.tar.gz
gpgme-f8312d7c333193582dcb5816198219b9564023f0.zip
tests: Fix memleak in run-threaded
* tests/run-threaded.c (verify): Free msg.
Diffstat (limited to 'tests/run-threaded.c')
-rw-r--r--tests/run-threaded.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/run-threaded.c b/tests/run-threaded.c
index 93d15883..02524b22 100644
--- a/tests/run-threaded.c
+++ b/tests/run-threaded.c
@@ -408,6 +408,7 @@ verify (const char *fname, gpgme_protocol_t proto)
gpgme_release (ctx);
random_data_close (data);
+ free (msg);
}