--- libaitrpc/src/srv.c 2011/11/03 14:28:48 1.5.2.9 +++ libaitrpc/src/srv.c 2011/11/03 14:57:56 1.5.2.10 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: srv.c,v 1.5.2.9 2011/11/03 14:28:48 misho Exp $ +* $Id: srv.c,v 1.5.2.10 2011/11/03 14:57:56 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -708,7 +708,7 @@ rpc_srv_endServer(rpc_srv_t ** __restrict psrv) pthread_mutex_lock(&(*psrv)->srv_mtx); while ((f = (*psrv)->srv_funcs)) { (*psrv)->srv_funcs = f->func_next; - rpc_srv_destroyVars(f); + io_freeVars(&f->func_vars); free(f); } pthread_mutex_unlock(&(*psrv)->srv_mtx);