From 04f89e8f7dfdb882e8c98afb613cba3f1d02ed7d Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Fri, 10 Apr 2015 17:49:01 +0200 Subject: [PATCH] [bindings] Fix ownership of returned hb_language_t It should not be freed by the caller. --- src/hb-buffer.cc | 2 +- src/hb-common.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hb-buffer.cc b/src/hb-buffer.cc index b9fe263c..eecb9d09 100644 --- a/src/hb-buffer.cc +++ b/src/hb-buffer.cc @@ -967,7 +967,7 @@ hb_buffer_set_language (hb_buffer_t *buffer, * * * - * Return value: + * Return value: (transfer none): * * Since: 1.0 **/ diff --git a/src/hb-common.cc b/src/hb-common.cc index c0233f34..ac10cf2d 100644 --- a/src/hb-common.cc +++ b/src/hb-common.cc @@ -286,7 +286,7 @@ retry: * * * - * Return value: + * Return value: (transfer none): * * Since: 1.0 **/ -- GitLab