[En-Nut-Discussion] Should free test DEADBEEF by default?

Moritz Struebe morty at gmx.net
Tue Apr 22 11:24:41 CEST 2008


Hi there,

sorry for the spam yesterday. :-/

Is there a good reason to/not check the DEADBEEF when freeing mem. After 
all it's likely that (1) the boundaries were not obeyed or (2) a wrong 
pointer got freed. Shouldn't free just return -1 in this case?

Cheers
Morty




More information about the En-Nut-Discussion mailing list