Fix: Call dbChannelDelete() when client connection is lost. [rsrv/caservertask.c]
This commit is contained in:
committed by
Michael Davidsaver
parent
a2fadc15a7
commit
f65ec61dc3
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -654,6 +654,7 @@ static void destroyAllChannels (
|
||||
errPrintf ( status, __FILE__, __LINE__, "asRemoveClient" );
|
||||
}
|
||||
|
||||
dbChannelDelete(pciu->dbch);
|
||||
freeListFree ( rsrvChanFreeList, pciu );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user