>From Swen Schillig <s...@vnet.ibm.com>:

Swen Schillig has uploaded a new change for review.

  https://review.gerrithub.io/285425

Change subject: [valgrind] mem-leak for duplicated key in parent struct.
......................................................................

[valgrind] mem-leak for duplicated key in parent struct.

Directories allocate memory for parent key.
On deletion this must free'd as well.

== 130 bytes in 5 blocks are definitely lost in loss record 226 of 332
==    at 0x4C28BF6: malloc (vg_replace_malloc.c:299)
==    by 0x529FB6: gsh_malloc__ (abstract_mem.h:78)
==    by 0x52A5A1: mdcache_key_dup (mdcache_int.h:448)
==    by 0x52D5EC: mdc_add_cache (mdcache_helpers.c:799)
==    by 0x52F4FC: mdc_populate_dirent (mdcache_helpers.c:1387)
==    by 0xAC61A71: ???
==    by 0x52F7ED: mdcache_dirent_populate (mdcache_helpers.c:1458)
==    by 0x524FC8: mdcache_readdir (mdcache_handle.c:555)
==    by 0x43172F: fsal_readdir (fsal_helper.c:1459)
==    by 0x476DB6: nfs4_op_readdir (nfs4_op_readdir.c:628)
==    by 0x45C146: nfs4_Compound (nfs4_Compound.c:734)
==    by 0x44A3C7: nfs_rpc_execute (nfs_worker_thread.c:1306)

Change-Id: I96d8bddf497b044d0d13fd71287a5aad64888490
Signed-off-by: Swen Schillig <s...@vnet.ibm.com>
---
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_handle.c
1 file changed, 3 insertions(+), 0 deletions(-)


  git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha 
refs/changes/25/285425/1
-- 
To view, visit https://review.gerrithub.io/285425
To unsubscribe, visit https://review.gerrithub.io/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I96d8bddf497b044d0d13fd71287a5aad64888490
Gerrit-PatchSet: 1
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Owner: Swen Schillig <s...@vnet.ibm.com>

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel

Reply via email to