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

My guess is that it handles the case where an array or map type CVariant is assigned to some other CVariant - any data it contained previously is not free'd.