mirror of
https://github.com/MariaDB/server.git
synced 2026-04-25 01:35:31 +02:00
Fix for bug#14780 memory leak for mysql 4.1.14 with openssl enabled
This commit is contained in:
parent
1dfaaba874
commit
31ea9f945d
4 changed files with 6 additions and 22 deletions
19
vio/viossl.c
19
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)))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue