summaryrefslogtreecommitdiff
path: root/vio/viossl.c
diff options
context:
space:
mode:
authorunknown <gluh@eagle.intranet.mysql.r18.ru>2005-11-21 16:09:26 +0400
committerunknown <gluh@eagle.intranet.mysql.r18.ru>2005-11-21 16:09:26 +0400
commit31ea9f945d2acfa8e0dec18df8ae7094d7ca62b0 (patch)
treeb333cc8af1bc5e2584d134438936662fc0e10da2 /vio/viossl.c
parent1dfaaba874c5f02222e149466743abb0c268c5d3 (diff)
downloadmariadb-git-31ea9f945d2acfa8e0dec18df8ae7094d7ca62b0.tar.gz
Fix for bug#14780 memory leak for mysql 4.1.14 with openssl enabled
Diffstat (limited to 'vio/viossl.c')
-rw-r--r--vio/viossl.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/vio/viossl.c b/vio/viossl.c
index a3a2e7190bd..62145fe5006 100644
--- a/vio/viossl.c
+++ b/vio/viossl.c
@@ -69,25 +69,6 @@ report_errors()
DBUG_VOID_RETURN;
}
-/*
- Delete a vio object
-
- SYNPOSIS
- vio_ssl_delete()
- vio Vio object. May be 0.
-*/
-
-
-void vio_ssl_delete(Vio * vio)
-{
- if (vio)
- {
- if (vio->type != VIO_CLOSED)
- vio_close(vio);
- my_free((gptr) vio,MYF(0));
- }
-}
-
int vio_ssl_errno(Vio *vio __attribute__((unused)))
{