--- libaitrpc/example/tcli.c 2012/03/28 13:40:49 1.6.2.7 +++ libaitrpc/example/tcli.c 2012/03/29 01:28:13 1.6.2.8 @@ -41,6 +41,7 @@ int main() AIT_NEW_BLOB(v, 512); if (rpc_cli_sendBLOB(cli2, v, blob43) == -1) { printf("!!!!! blob error:: errno=%d %s\n", rpc_GetErrno(), rpc_GetError()); + io_freeVars(&valz); rpc_cli_closeBLOBClient(cli2); rpc_cli_closeClient(cli); free(blob43); @@ -58,6 +59,7 @@ int main() // for (i = 0; i < 1000000; i++) if ((ret = rpc_cli_execCall(cli, RPC_REPLY, NULL, "BBB", valz, &arr)) < 0) { printf("error:: errno=%d %s\n", rpc_GetErrno(), rpc_GetError()); + io_freeVars(&valz); rpc_cli_closeBLOBClient(cli2); rpc_cli_closeClient(cli); free(blob43);