Hello, With cppcheck, I've got this : [libgimpbase/gimpreloc.c:248]: (error) Common realloc mistake: 'address_string' nulled but not freed upon failure With this patch, it's ok : index 7461bed..238797f 100644 --- a/libgimpbase/gimpreloc.c +++ b/libgimpbase/gimpreloc.c @@ -245,7 +245,7 @@ _br_find_exe_for_symbol (const void *symbol, GimpBinrelocInitError *error) * then transform that into a pointer. */ if (address_string_len < len + 3) { address_string_len = len + 3; - address_string = (char *) g_try_realloc (address_string, address_string_len); + address_string = (char *) g_realloc (address_string, address_string_len); } memcpy (address_string, "0x", 2); Julien -- View this message in context: http://old.nabble.com/Patch-for-cppcheck-error-%22Common-realloc-mistake%22-tp32305733p32305733.html Sent from the Gimp Developer mailing list archive at Nabble.com. _______________________________________________ Gimp-developer mailing list Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer