commit | f0ef096b8cab33aa9e26edba9b15696bf907e268 | [log] [tgz] |
---|---|---|
author | Behdad Esfahbod <[email protected]> | Mon Aug 13 10:30:41 2018 -0700 |
committer | Behdad Esfahbod <[email protected]> | Mon Aug 13 10:30:41 2018 -0700 |
tree | 2a664ed06d07be5d4545b1e5ee71efaf73ab3104 | |
parent | 9bbd1cdf068635f4a737f1fc9ab54ba075601a5d [diff] |
Don't add reference in get_unicode_funcs() functions Users don't expect a new reference returned from a get() function. Indeed, all users of that API I foud where NOT destroying the reference. Just change the implementations to NOT return a reference. This applies to the following APIs: hb_unicode_funcs_get_default() hb_glib_get_unicode_funcs() hb_icu_get_unicode_funcs() Fixes https://github.com/harfbuzz/harfbuzz/issues/1134