[Bugs] [Bug 1416889] New: Simplify refcount API for free'ing function

bugzilla at redhat.com bugzilla at redhat.com
Thu Jan 26 17:18:20 UTC 2017


https://bugzilla.redhat.com/show_bug.cgi?id=1416889

            Bug ID: 1416889
           Summary: Simplify refcount API for free'ing function
           Product: GlusterFS
           Version: mainline
         Component: core
          Keywords: Triaged
          Assignee: ndevos at redhat.com
          Reporter: ndevos at redhat.com
                CC: bugs at gluster.org



Description of problem:
All of the functions called to free the refcounted structure are doing a
typecast from (void*) to their own type taht is being free'd. This
really is not needed and the refcount interface is made a little simpler
without the requirement of typecasting.


Version-Release number of selected component (if applicable):
all

How reproducible:
Pass a destructor in GF_REF_INIT() with a non (void*) parameter.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=uY4FaTslcL&a=cc_unsubscribe


More information about the Bugs mailing list