The problem was that I had overlooked the fact that the close() method was calling delete() not clear() and so instead was just using the standard free method instead of the way it is supposed to be done.
Thanks for the quick reply, arb is awesome, thank you to you and all the other arb contributors,
Best regards,
Stephen
screen=java.awt.Dimension[width=500,height=250]
domain=java.awt.geom.Rectangle2D$Double[x=-3.141592653589793,y=-1.5,w=6.283185307179586,h=3.0]
Rendered in 0.633 seconds at a rate of 197472 pixels/sec
=================================================================
==880916==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 7776 byte(s) in 41 object(s) allocated from:
#0 0x7f4cb2841867 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
#1 0x7f4632e7353d in flint_malloc memory_manager.c:91
Indirect leak of 2432 byte(s) in 76 object(s) allocated from:
#0 0x7f4cb2841867 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
#1 0x7f4632e7353d in flint_malloc memory_manager.c:91
-----------------------------------------------------
Suppressions used:
count bytes template
3041 211156 libjvm.so
184 30372 libX11.so
112 1903064 libz.so.1
15 3496 libawt_xawt.so
69 7728 libzip.so
2 3664 libXext.so.6
2 5802 main
-----------------------------------------------------
SUMMARY: AddressSanitizer: 10208 byte(s) leaked in 117 allocation(s).