On Sun, 10 Jan 2010, Mikhail Gusarov wrote:
> DS> I think the fact that this might call a callback that replaces free makes
> DS> the question a little wider than just the fact that free(NULL) is fine.
>
> Yep. It would be useful to declare that user-provided free function won't be
> called with NULL argument from library code.
Uhm, in fact the man page that covers those callbacks is lacking a lot! ;-/
-- / daniel.haxx.se _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-develReceived on 2010-01-10