Fixed potential memory leak in the::graphics::media::copy_attribute.
Authored by: crowbar27 2016-07-28
Parent: [r823]
Child: [r825]