Safer memory management in C.