Twas brillig at 00:29:11 10.01.2010 UTC+01 when daniel_at_haxx.se did gyre and gimble:
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.
-- http://fossarchy.blogspot.com/
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel