On Jun 26, 11:30am, m...@eterna.com.au (matthew green) wrote:
-- Subject: re: Fix netbsd32's getfh()

| 
| Christos Zoulas writes:
| > Well, let's not propagate the evil design! I is is one thing having:
| > 
| >     void *p = malloc(n);
| >     free(p);
| > 
| > where you know p is going to be NULL when it fails and another having:
| > 
| >     foo *p;
| >     error = allocate_foo(&p);
| >     free_foo(p);
| > 
| > and expect p to be altered in the error path of allocate_foo.
| > 
| > Please, let's fix it! I volunteer :-)
| 
| *tag*  you're it!

Done.

christos

Reply via email to