talloc:documentation - explain that "talloc_free" works also with "NULL" pointers