tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
re: Fix netbsd32's getfh()
On Jun 26, 11:30am, mrg%eterna.com.au@localhost (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
Home |
Main Index |
Thread Index |
Old Index