GNOME Bugzilla – Bug 611585
Attempts to free stack allocated arguments
Last modified: 2010-03-02 22:20:52 UTC
Make check fails due to glibc detecting invalid free when testing test_int_out_utf8: gjs-unit: free(): invalid pointer: 0xbfff2400 *** The pointer looks like being the stack allocated OUT argument. Possibly caused by 32faf0da134a3fac866be270fafbc414b9d721a9
Created attachment 155029 [details] [review] gi: make sure to release correct arguments All arguments are IN arguments as they're in in_arg_cvalue and in_arg_pointers arrays so always increase the index to the arrays to ensure the correct argument gets released. Avoids trying to free stack allocated out value.
Review of attachment 155029 [details] [review]: Looks good