mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-05 18:40:58 +01:00
gregex: Mark g_match_info_get_regex as transfer none
Since it had no explicit annotation, g-i was defaulting to transfer-full while in this case the GRegex is owned by the GMatchInfo.
This commit is contained in:
parent
df66951b96
commit
1185a1304a
@ -912,7 +912,7 @@ enable_jit_with_match_options (GRegex *regex,
|
|||||||
* and must not be freed. Use g_regex_ref() if you need to keep it
|
* and must not be freed. Use g_regex_ref() if you need to keep it
|
||||||
* after you free @match_info object.
|
* after you free @match_info object.
|
||||||
*
|
*
|
||||||
* Returns: #GRegex object used in @match_info
|
* Returns: (transfer none): #GRegex object used in @match_info
|
||||||
*
|
*
|
||||||
* Since: 2.14
|
* Since: 2.14
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user