Fix for bug#14780 memory leak for mysql 4.1.14 with openssl enabled

This commit is contained in:
unknown 2005-11-21 16:09:26 +04:00
commit 31ea9f945d
4 changed files with 6 additions and 22 deletions

View file

@ -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)))
{