projects
/
bluesky.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some test work with using Berkeley DB for a local disk cache.
[bluesky.git]
/
nfs3
/
rpc.c
diff --git
a/nfs3/rpc.c
b/nfs3/rpc.c
index
5341f20
..
f753bd1
100644
(file)
--- 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);
/* 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);
}
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);
/* 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);
}
g_string_free(req->connection->sendbuf, TRUE);
g_free(req->connection);
}