added size to malloc error messages