1a65c1b8b1
Allow the various attach handlers to access the existing buffer, only referencing the new buffer when they have successfully attached. Signed-off-by: Daniel Stone <daniels@collabora.com>