|
@ -735,10 +735,13 @@ void LP_rpc_processreq(void *_ptr) |
|
|
free(space); |
|
|
free(space); |
|
|
free(jsonbuf); |
|
|
free(jsonbuf); |
|
|
closesocket(sock); |
|
|
closesocket(sock); |
|
|
portable_mutex_lock(&LP_gcmutex); |
|
|
if ( 0 ) |
|
|
DL_APPEND(LP_garbage_collector,req); |
|
|
{ |
|
|
|
|
|
portable_mutex_lock(&LP_gcmutex); |
|
|
|
|
|
DL_APPEND(LP_garbage_collector,req); |
|
|
|
|
|
portable_mutex_unlock(&LP_gcmutex); |
|
|
|
|
|
} free(req); |
|
|
spawned--; |
|
|
spawned--; |
|
|
portable_mutex_unlock(&LP_gcmutex); |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
extern int32_t IAMLP; |
|
|
extern int32_t IAMLP; |
|
|