version 1.5.2.9, 2011/11/03 14:28:48
|
version 1.5.2.10, 2011/11/03 14:57:56
|
Line 708 rpc_srv_endServer(rpc_srv_t ** __restrict psrv)
|
Line 708 rpc_srv_endServer(rpc_srv_t ** __restrict psrv)
|
pthread_mutex_lock(&(*psrv)->srv_mtx); |
pthread_mutex_lock(&(*psrv)->srv_mtx); |
while ((f = (*psrv)->srv_funcs)) { |
while ((f = (*psrv)->srv_funcs)) { |
(*psrv)->srv_funcs = f->func_next; |
(*psrv)->srv_funcs = f->func_next; |
rpc_srv_destroyVars(f); | io_freeVars(&f->func_vars); |
free(f); |
free(f); |
} |
} |
pthread_mutex_unlock(&(*psrv)->srv_mtx); |
pthread_mutex_unlock(&(*psrv)->srv_mtx); |