[Bugs] [Bug 1449675] New: adding return statement in dict_unref() of libglusterfs /src/dict.c
bugzilla at redhat.com
bugzilla at redhat.com
Wed May 10 12:35:15 UTC 2017
https://bugzilla.redhat.com/show_bug.cgi?id=1449675
Bug ID: 1449675
Summary: adding return statement in dict_unref() of
libglusterfs/src/dict.c
Product: GlusterFS
Version: mainline
Component: core
Severity: low
Assignee: bugs at gluster.org
Reporter: sarora at redhat.com
CC: bugs at gluster.org
Description of problem:
I am making a leak detetcion script which probes ref and unref functions and
trace required variables.
It's easy to do this (in system tap) for those functions which are returning
pointer, say for dict_ref(), its returning (dict_t *)this, so all the dict_t
attributes are easily accessible using this *, but it's a bit tedious to do the
same for those functions which are not returning pointer to structure. One such
function is dict_unref.Thus added return statement in that.
Version-Release number of selected component (if applicable):
3.12
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
dict_unref() not returning this*.
Expected results:
It should return this *
Additional info:
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list