[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Possible memory leak using str2entry and entry_free()



First, str2entry() and entry_free() are not part of the client
API.  They are part of the server API and should only be used
with the context of the server (such as a backend).  Using
them to implement a client is inappropriate.

Second, it is believed that the current implementation of
these routines (when used appropriated) do not cause memory
leaks.

I would suspect that you are not using the routines appropriately.
In fact, unless you are developing a backend, you most definitely
are using them inappropriately.