Fix resource leak in kaa_read_status_ext()
Fix error handling in kaa_create_context()
Merge pull request #1 from Oleh-Kravchenko/master

Fix resource leak in kaa_read_status_ext() and fix error handling in kaa_create_context()