path: root/xlators/mount/fuse/src/fuse-bridge.c
diff options
authorPranith Kumar K <>2014-08-26 12:59:47 +0530
committerKaleb KEITHLEY <>2014-08-27 06:46:38 -0700
commitf0ddba7e0913db505f1295e9b3b7d35ead9c4407 (patch)
treead28e42375e834b0c5cb97a3e68000e187e4dd73 /xlators/mount/fuse/src/fuse-bridge.c
parent1679b72c5b023884fb4bc6a2a85b06016fb3cab8 (diff)
cluster/afr: Fix memory leak of file-path in self-heal-daemon
Backport of Note: Only the part which fixes the memory leak is backported shd event has path which needs to be freed as part of circular buffer cleanup. This patch introduces the functionality so that self-heal-daemon can use it. Change-Id: I3f3823d5587eda2fcb278f0fdb89123a31c9d786 BUG: 1119894 Signed-off-by: Pranith Kumar K <> Reviewed-on: Tested-by: Gluster Build System <> Reviewed-by: Ravishankar N <> Reviewed-by: Kaleb KEITHLEY <>
Diffstat (limited to 'xlators/mount/fuse/src/fuse-bridge.c')
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/mount/fuse/src/fuse-bridge.c b/xlators/mount/fuse/src/fuse-bridge.c
index da5937b73f3..8cde71c7cd4 100644
--- a/xlators/mount/fuse/src/fuse-bridge.c
+++ b/xlators/mount/fuse/src/fuse-bridge.c
@@ -5193,7 +5193,7 @@ init (xlator_t *this_xl)
if (priv->fd == -1)
goto cleanup_exit;
- event = eh_new (FUSE_EVENT_HISTORY_SIZE, _gf_false);
+ event = eh_new (FUSE_EVENT_HISTORY_SIZE, _gf_false, NULL);
if (!event) {
gf_log (this_xl->name, GF_LOG_ERROR,
"could not create a new event history");