summaryrefslogtreecommitdiffstats
path: root/tests/basic/ec/ec-quorum-count-partial-failure.t
diff options
context:
space:
mode:
authorRavishankar N <ravishankar@redhat.com>2020-09-01 11:36:42 +0530
committerRavishankar N <ravishankar@redhat.com>2020-09-07 04:52:58 +0000
commit635dcf82505efcdeaf01c4e0450a157b533099ba (patch)
tree918525c2bed2f7141c4a84c106d4058e48873804 /tests/basic/ec/ec-quorum-count-partial-failure.t
parentf9b8462ba212e0fd572efdf6ade03f4d5c53d11e (diff)
libglusterfs: fix dict leak
Problem: gf_rev_dns_lookup_cached() allocated struct dnscache->dict if it was null but the freeing was left to the caller. Fix: Moved dict allocation and freeing into corresponding init and fini routines so that its easier for the caller to avoid such leaks. Updates: #1000 Change-Id: I90d6a6f85ca2dd4fe0ab461177aaa9ac9c1fbcf9 Signed-off-by: Ravishankar N <ravishankar@redhat.com> (cherry picked from commit 079f7a7d8a2bd85070c1da4dde2452ca82a1cdbb)
Diffstat (limited to 'tests/basic/ec/ec-quorum-count-partial-failure.t')
0 files changed, 0 insertions, 0 deletions