summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2011-03-11 13:19:01 +0100
committerLinus Nordberg <linus@nordu.net>2011-03-11 13:19:01 +0100
commit2913a6b0f4fc5d097843d8c80786b8c313fb9d30 (patch)
tree4d77a76a73b8f8b03f86c3ee74d3537c6c1f2952 /lib
parent73d7353cb7a244d08fdd8b6d14e01db4b00824b7 (diff)
Do free the connection object.
Diffstat (limited to 'lib')
-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;
}