Fixed a memory leak when writing through the epicsadapter
This commit is contained in:
@ -384,6 +384,7 @@ static void EpicsWriteFunc(void *param)
|
|||||||
SCDeleteConnection(wp->pCon);
|
SCDeleteConnection(wp->pCon);
|
||||||
ReleaseHdbValue(&wp->v);
|
ReleaseHdbValue(&wp->v);
|
||||||
free(wp);
|
free(wp);
|
||||||
|
free(pv);
|
||||||
ca_clear_channel(cid);
|
ca_clear_channel(cid);
|
||||||
ca_context_destroy();
|
ca_context_destroy();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user