fix a leak affecting each buffer on base reader