Fix for opaque data double free