diff options
| author | Geenz <geenz@geenzo.com> | 2013-05-13 22:22:51 -0400 | 
|---|---|---|
| committer | Geenz <geenz@geenzo.com> | 2013-05-13 22:22:51 -0400 | 
| commit | 3779e51bfc2010877960d11b463c7316514bf991 (patch) | |
| tree | ab528a6e7f78f136f9d0f0f7e939264897a44ae1 /indra/llmessage/lliosocket.cpp | |
| parent | b27899ee0e035ebd4072a5e6162678f2afe81053 (diff) | |
| parent | 4dd245055f3417d8f8fb611a198ed5671dbce292 (diff) | |
Merged with https://bitbucket.org/lindenlab/viewer-beta
Diffstat (limited to 'indra/llmessage/lliosocket.cpp')
| -rwxr-xr-x[-rw-r--r--] | indra/llmessage/lliosocket.cpp | 9 | 
1 files changed, 9 insertions, 0 deletions
| diff --git a/indra/llmessage/lliosocket.cpp b/indra/llmessage/lliosocket.cpp index 0287026659..2043bae5e7 100644..100755 --- a/indra/llmessage/lliosocket.cpp +++ b/indra/llmessage/lliosocket.cpp @@ -592,6 +592,15 @@ LLIOPipe::EStatus LLIOServerSocket::process_impl(  	PUMP_DEBUG;  	apr_pool_t* new_pool = NULL;  	apr_status_t status = apr_pool_create(&new_pool, mPool); +	if(ll_apr_warn_status(status)) +	{ +		if(new_pool) +		{	 +			apr_pool_destroy(new_pool); +		} +		return STATUS_ERROR; +	} +  	apr_socket_t* socket = NULL;  	status = apr_socket_accept(  		&socket, | 
