diff options
author | unknown <gluh@eagle.intranet.mysql.r18.ru> | 2005-11-21 16:09:26 +0400 |
---|---|---|
committer | unknown <gluh@eagle.intranet.mysql.r18.ru> | 2005-11-21 16:09:26 +0400 |
commit | 31ea9f945d2acfa8e0dec18df8ae7094d7ca62b0 (patch) | |
tree | b333cc8af1bc5e2584d134438936662fc0e10da2 /vio/viossl.c | |
parent | 1dfaaba874c5f02222e149466743abb0c268c5d3 (diff) | |
download | mariadb-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.c | 19 |
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))) { |