summaryrefslogtreecommitdiffstats
path: root/src/lockdown.h
diff options
context:
space:
mode:
authorGravatar Christophe Fergeau2009-11-17 21:46:48 +0100
committerGravatar Matt Colyer2009-11-17 19:24:39 -0800
commite3b6f3237efae9de0412573ae056b33e0ba48137 (patch)
treebeeb8e7bc7dfe2ee305d4424f6c867d05d21f374 /src/lockdown.h
parentc56382f15ec52925219daddd10d2a4cefb4fa166 (diff)
downloadlibimobiledevice-e3b6f3237efae9de0412573ae056b33e0ba48137.tar.gz
libimobiledevice-e3b6f3237efae9de0412573ae056b33e0ba48137.tar.bz2
don't leak memory allocated for gnutls credentials
Diffstat (limited to 'src/lockdown.h')
-rw-r--r--src/lockdown.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lockdown.h b/src/lockdown.h
index 19cf9f2..5223fbe 100644
--- a/src/lockdown.h
+++ b/src/lockdown.h
@@ -30,6 +30,7 @@
struct lockdownd_client_int {
iphone_connection_t connection;
gnutls_session_t *ssl_session;
+ gnutls_certificate_credentials_t ssl_certificate;
int in_SSL;
char session_id[40];
};