Fix for allDCB linked list corruption.

This commit is contained in:
Mark Riddoch
2014-02-06 13:10:11 +01:00
parent 0c4b53e9ef
commit a91c595dbc
2 changed files with 23 additions and 2 deletions

View File

@ -121,7 +121,7 @@ GWPROTOCOL *funcs;
if ((funcs =
(GWPROTOCOL *)load_module(port->protocol, MODULE_PROTOCOL)) == NULL)
{
free(port->listener);
dcb_free(port->listener);
port->listener = NULL;
LOGIF(LE, (skygw_log_write_flush(
LOGFILE_ERROR,