Double-check what's returned by malloc().