|
From: Ethan M. <merritt@u.washington.edu> - 2005-01-08 05:44:40
|
On Friday 07 January 2005 09:24 pm, Daniel J Sebald wrote: > Second, the > following lines of malloc/free are generally OK. But the one case where > username2 is zero and username isn't might be a problem. free(NULL) is perfectly legal. The test if (foo) free(foo); is common, but not necessary. -- Ethan A Merritt Biomolecular Structure Center University of Washington 98195-7742 |