Did you forget to call freeBuffer?