xbmc/xbmc — comment on commit bfd5673a698d2f80f6d32e3b5efdf47737d3260f
File:  line 0
By topfs2:

A, yeah that would leak, did not think of that. I'll see if I can find some time to fix the operator= instead as that would be a bit better solution IMO. Unless someone beats me to it :)