Skip to content
  • Wim Taymans's avatar
    bufferpool: Reset the buffer before releasing into pool · b67be761
    Wim Taymans authored
    Reset the buffer not after we acquire but before we release into the pool. This
    makes sure that the pool only has buffers in a clean state and that we can set
    extra metadata on buffers in the acquire method. this means that we need to
    remove an argument from the method.
    b67be761