Release the outout bufferin case the alloc fails