Fix leaking resource.

Default case of switch(tree_ctx->tree->lang->langID) does not destroy embed_doc. Corrected that. Also if Null check for lang is missing, so added as wbxml_tables_get_table may return NULL.
Merge pull request #3 from ya1gaurav/patch-3

Fix leaking resource.