Fix: Call dbChannelDelete() when client connection is lost. [rsrv/caservertask.c]

This commit is contained in:
Ralph Lange
2012-04-27 13:21:49 -04:00
committed by Michael Davidsaver
parent a2fadc15a7
commit f65ec61dc3
3 changed files with 9 additions and 8 deletions

View File

@@ -1,9 +1,9 @@
/*************************************************************************\
* Copyright (c) 2010 UChicago Argonne LLC, as Operator of Argonne
* National Laboratory.
* EPICS BASE is distributed subject to a Software License Agreement found
* in file LICENSE that is included with this distribution.
\*************************************************************************/
* National Laboratory.
* EPICS BASE is distributed subject to a Software License Agreement found
* in file LICENSE that is included with this distribution.
\*************************************************************************/
#include <stdio.h>
#include <string.h>

View File

@@ -1,9 +1,9 @@
/*************************************************************************\
* Copyright (c) 2010 UChicago Argonne LLC, as Operator of Argonne
* National Laboratory.
* EPICS BASE is distributed subject to a Software License Agreement found
* in file LICENSE that is included with this distribution.
\*************************************************************************/
* National Laboratory.
* EPICS BASE is distributed subject to a Software License Agreement found
* in file LICENSE that is included with this distribution.
\*************************************************************************/
#ifndef INC_dbChannel_H
#define INC_dbChannel_H

View File

@@ -654,6 +654,7 @@ static void destroyAllChannels (
errPrintf ( status, __FILE__, __LINE__, "asRemoveClient" );
}
dbChannelDelete(pciu->dbch);
freeListFree ( rsrvChanFreeList, pciu );
}
}