diff options
author | John Ralls <jralls@ceridwen.us> | 2012-07-20 14:45:16 -0700 |
---|---|---|
committer | John Ralls <jralls@ceridwen.us> | 2012-07-20 14:45:16 -0700 |
commit | 0686aea14d903fa73b01117adacba30f273ca4c4 (patch) | |
tree | aec32b8317d54b68defe6ca828564f7503d49123 /pango/pango-context.c | |
parent | ee3537107a0bc41d5e5b2dc5c71106dec42ad144 (diff) | |
download | pango-0686aea14d903fa73b01117adacba30f273ca4c4.tar.gz |
Bug 679654: Crash for PangoContext.list_families
Add transfer container annotations so that the array is freed but not
the (static) family objects.
Diffstat (limited to 'pango/pango-context.c')
-rw-r--r-- | pango/pango-context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pango-context.c b/pango/pango-context.c index af0ccfa0..a909cd05 100644 --- a/pango/pango-context.c +++ b/pango/pango-context.c @@ -243,7 +243,7 @@ pango_context_get_font_map (PangoContext *context) /** * pango_context_list_families: * @context: a #PangoContext - * @families: (out) (array length=n_families): location to store a pointer to + * @families: (out) (array length=n_families) (transfer container): location to store a pointer to * an array of #PangoFontFamily *. This array should be freed * with g_free(). * @n_families: (out): location to store the number of elements in @descs |