summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/legacy/server/src/server-protocol.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/protocol/legacy/server/src/server-protocol.c')
-rw-r--r--xlators/protocol/legacy/server/src/server-protocol.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/xlators/protocol/legacy/server/src/server-protocol.c b/xlators/protocol/legacy/server/src/server-protocol.c
index 5193e54b1f5..35d58ae99cd 100644
--- a/xlators/protocol/legacy/server/src/server-protocol.c
+++ b/xlators/protocol/legacy/server/src/server-protocol.c
@@ -342,7 +342,7 @@ protocol_server_reply (call_frame_t *frame, int type, int op,
STACK_DESTROY (frame->root);
if (state)
- free_state (state);
+ free_old_server_state (state);
}
@@ -6489,6 +6489,7 @@ notify (xlator_t *this, int32_t event, void *data, ...)
peer_info_t *peerinfo = NULL;
peer_info_t *myinfo = NULL;
+ THIS = this;
trans = data;
if (!trans) {
gf_log (this->name, GF_LOG_ERROR, "!trans");