define out safe malloc if it's not being used