[bindings] Fix ownership of returned hb_language_t
authorKhaled Hosny <khaledhosny@eglug.org>
Fri, 10 Apr 2015 15:49:01 +0000 (17:49 +0200)
committerKhaled Hosny <khaledhosny@eglug.org>
Fri, 10 Apr 2015 16:17:02 +0000 (18:17 +0200)
commit04f89e8f7dfdb882e8c98afb613cba3f1d02ed7d
tree7d6118184cf3da27eb41cc344981af9c0398ee90
parente8fd83932a75cfbaa4638a757868915ebfac3c1f
[bindings] Fix ownership of returned hb_language_t

It should not be freed by the caller.
src/hb-buffer.cc
src/hb-common.cc