|
From: | Corin Langosch |
Subject: | [Gluster-devel] strange code in mem-pool.h |
Date: | Wed, 14 Jan 2009 15:53:41 +0100 |
User-agent: | Thunderbird 2.0.0.19 (X11/20090105) |
Hi all, while working on my second patch I wonder about this peace of code in mem-pool.h: #define FREE(ptr) \ if (ptr != NULL) { \ free ((void *)ptr); \ ptr = (void *)0xeeeeeeee; \ } Why is the pointer not set to NULL? Corin
[Prev in Thread] | Current Thread | [Next in Thread] |