More on tilde expansion

Pavel Tsekov ptsekov at gmx.net
Tue Sep 21 06:23:01 UTC 2004


Hello,

On Tue, 21 Sep 2004, Leonard den Ottolander wrote:

>     if (!*dest_dir) {
> 	g_free (dest_dir);
>
> Is this assumption wrong? Will g_free free all the allocated memory even
> though the first byte is a 0 byte?

Yes - it will free the memory. It does not care about the memory contents.



More information about the mc-devel mailing list