Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 142560
Collapse All | Expand All

(-)src-native-new/src/transport/transportSupport/TransportSupportNamedPipe_win.c (-3 / +6 lines)
Lines 155-163 Link Here
155
 *********************************************************/
155
 *********************************************************/
156
int cleanPipeUp(HANDLE *pPipeHandle) 
156
int cleanPipeUp(HANDLE *pPipeHandle) 
157
{
157
{
158
	FlushFileBuffers(*pPipeHandle);
158
	if (*pPipeHandle > 0) {
159
	CloseHandle(*pPipeHandle) ;
159
		FlushFileBuffers(*pPipeHandle);
160
	*pPipeHandle = 0 ;
160
		CloseHandle(*pPipeHandle) ;
161
		*pPipeHandle = 0 ;
162
	}
163
	
161
	return 0 ;
164
	return 0 ;
162
}
165
}
163
166
(-)src-native-new/src/transport/TPTPAgentCompTL/RACAgentSupport.c (+2 lines)
Lines 438-443 Link Here
438
		ra_destroyRASTRING(&current->agent->agentUUID);
438
		ra_destroyRASTRING(&current->agent->agentUUID);
439
		ra_destroyRASTRING(&current->agent->agentType);
439
		ra_destroyRASTRING(&current->agent->agentType);
440
		
440
		
441
		cleanPipeUp(&(current->agent->pipe));
442
		
441
		tptp_free(current->agent);
443
		tptp_free(current->agent);
442
		current->agent=NULL;
444
		current->agent=NULL;
443
		current=current->next;
445
		current=current->next;

Return to bug 142560