summaryrefslogtreecommitdiff
path: root/lib/conn.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/conn.c')
-rw-r--r--lib/conn.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/conn.c b/lib/conn.c
index 5382888..f737820 100644
--- a/lib/conn.c
+++ b/lib/conn.c
@@ -132,6 +132,8 @@ rs_conn_destroy (struct rs_connection *conn)
/* TODO: free tls_ctx */
/* TODO: free tls_ssl */
+ rs_free (conn->ctx, conn);
+
return err;
}