Fixed memory leaks and copy paste error in ElementTabSet
Fix pointer conversion bug in Variant
Fix return value of Element::GetOffsetParent()
Fix crash caused by pointer convertsion in drag sample
Merge pull request #117 from czbming/official

Memory leak, pointer dereference, and wrong return value fixes