On 10/31/18 11:44 AM, Marek Polacek wrote:
+ else if (to_free) + free ((void *)to_free);free (NULL) is ok so do you really need the check?
Probably not :) IIRC the if (X) free (X) idiom was nearby, and I didn't feel like rocking that boat.
nathan -- Nathan Sidwell