mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-27 14:36:16 +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
|
||||
* 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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user