free extra buffer needed for gemm