aboutsummaryrefslogtreecommitdiffstats
path: root/tests/gpg/t-thread1.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/gpg/t-thread1.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/gpg/t-thread1.c b/tests/gpg/t-thread1.c
index 86ea51af..0d4b2deb 100644
--- a/tests/gpg/t-thread1.c
+++ b/tests/gpg/t-thread1.c
@@ -94,7 +94,7 @@ void *
thread_two (void *name)
{
int i;
- const char *cipher_1_asc = make_filename ("cipher-1.asc");
+ char *cipher_1_asc = make_filename ("cipher-1.asc");
char *agent_info;
agent_info = getenv("GPG_AGENT_INFO");
@@ -135,6 +135,7 @@ thread_two (void *name)
gpgme_data_release (out);
gpgme_release (ctx);
}
+ free (cipher_1_asc);
return NULL;
}