From bec44acdeb22d82cab0df2a7c17a6c120532d2b6 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 14 Sep 2021 13:12:54 -0400 Subject: [PATCH] Annotate some builder apis as malloc --- gtk/gtkbuilderprivate.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk/gtkbuilderprivate.h b/gtk/gtkbuilderprivate.h index 34a48dd454..36fe77c55d 100644 --- a/gtk/gtkbuilderprivate.h +++ b/gtk/gtkbuilderprivate.h @@ -250,9 +250,9 @@ const char * _gtk_builder_parser_translate (const char *domain, const char *context, const char *text); char * _gtk_builder_get_resource_path (GtkBuilder *builder, - const char *string); + const char *string) G_GNUC_MALLOC; char * _gtk_builder_get_absolute_filename (GtkBuilder *builder, - const char *string); + const char *string) G_GNUC_MALLOC; void _gtk_builder_menu_start (ParserData *parser_data, const char *element_name,