Archive Index
This month's Index
|
Subject: Re: libssh2 master e48907e... avoid a free(NULL)
Re: libssh2 master e48907e... avoid a free(NULL)
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 10 Jan 2010 00:29:11 +0100 (CET)
On Sun, 10 Jan 2010, Mikhail Gusarov wrote:
> DS> 1 - aesthetics. I think calling the callback function to free something when
Well, it depends how often they are made. It is one check to avoid at least
> I'd call this setup broken, as lot of code relies on the fact free(NULL) =
You're entitled that opinion. I won't try to push that setup onto anyone, but
And for the record, this is the first time I noticed a free(NULL) in the
-- / daniel.haxx.se _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-develReceived on 2010-01-10 |