While reviewing http://review.gluster.com/#change,3565 I noticed that we have nearly a hundred uses of dict_set_dynstr, and a majority of those use gf_strdup'ed values. This requires callers to check two return values, from gf_strdup and dict_set_dynstr, complicating error recovery. I'd like to add a dict_set_transient_str function that does the gf_strdup internally, simplifying callers which then only need to check one return value.
The version that this bug has been reported against, does not get any updates from the Gluster Community anymore. Please verify if this report is still valid against a current (3.4, 3.5 or 3.6) release and update the version, or close this bug. If there has been no update before 9 December 2014, this bug will get automatocally closed.