Community
Participate
Working Groups
*********************************************************/
int cleanPipeUp(HANDLE *pPipeHandle)
{
FlushFileBuffers(*pPipeHandle);
if (*pPipeHandle > 0) {
CloseHandle(*pPipeHandle) ;
*pPipeHandle = 0 ;
}
return 0 ;
ra_destroyRASTRING(¤t->agent->agentUUID);
ra_destroyRASTRING(¤t->agent->agentType);
cleanPipeUp(&(current->agent->pipe));
tptp_free(current->agent);
current->agent=NULL;
current=current->next;