X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=nfs3%2Frpc.c;h=f753bd14a81f5e2800a06dfd173f2cccdf38460b;hb=accff993b8c8c2f89708dc110344cfddca2fc103;hp=5341f20c3432f270ae497e2b9ecc9ba00b4ef771;hpb=ea7099e8f1f6319cf6d20087d71209fa79cecf6f;p=bluesky.git diff --git a/nfs3/rpc.c b/nfs3/rpc.c index 5341f20..f753bd1 100644 --- a/nfs3/rpc.c +++ b/nfs3/rpc.c @@ -173,6 +173,7 @@ async_rpc_send_failure(RPCRequest *req, enum accept_stat stat) /* For UDP, a connection only exists for the duration of a single * message. */ g_mutex_free(req->connection->send_lock); + g_string_free(req->connection->msgbuf, TRUE); g_string_free(req->connection->sendbuf, TRUE); g_free(req->connection); } @@ -250,6 +251,7 @@ async_rpc_send_reply(RPCRequest *req, void *result) /* For UDP, a connection only exists for the duration of a single * message. */ g_mutex_free(req->connection->send_lock); + g_string_free(req->connection->msgbuf, TRUE); g_string_free(req->connection->sendbuf, TRUE); g_free(req->connection); }