X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/362344047babd671360bd0911973400ffa5066f4..fc5b65b14023dc1ba53406a76b9e436fd40c22ee:/examples/gras/mmrpc/mmrpc.c diff --git a/examples/gras/mmrpc/mmrpc.c b/examples/gras/mmrpc/mmrpc.c index fce8447332..b5c2cf483f 100644 --- a/examples/gras/mmrpc/mmrpc.c +++ b/examples/gras/mmrpc/mmrpc.c @@ -205,6 +205,7 @@ int client(int argc,char *argv[]) { gras_socket_peer_name(from),gras_socket_peer_port(from)); /* 10. Free the allocated resources, and shut GRAS down */ + free(answer.ctn); gras_socket_close(toserver); gras_exit(); INFO0("Done.");