Fixed leaking resource "data"

Call to wbxml_free(data); missing at many return places.
It can lead to memory leaks.
Merge pull request #6 from ya1gaurav/patch-6

Fixed leaking resource "data"