Only try to free the front buffer when it's a pbuffer.