I found this issue with address sanitizer, when normally opening this app and then exiting. It looked like this:
Direct leak of 142848 byte(s) in 186 object(s) allocated from:
#0 0x7fc76531fba5 in realloc /usr/src/debug/gcc/gcc/libsanitizer/asan/asan_malloc_linux.cpp:81
#1 0x7fc76513376c (/usr/lib/libfontconfig.so.1+0x3376c) (BuildId: 9ce6a06434d9a60bc1e842b1864019934fb47967)
#2 0x7fc7651340da (/usr/lib/libfontconfig.so.1+0x340da) (BuildId: 9ce6a06434d9a60bc1e842b1864019934fb47967)
#3 0x7fc76512b3a5 in FcFontRenderPrepare (/usr/lib/libfontconfig.so.1+0x2b3a5) (BuildId: 9ce6a06434d9a60bc1e842b1864019934fb47967)
#4 0x7fc764ebdf80 in fcft_from_name2 (/usr/lib/libfcft.so.4+0x8f80) (BuildId: decd7a4e67b91c4abef55bb41b486264bb695043)
#5 0x55c49792a6d6 in reload_font ../wayland.c:1588
#6 0x55c49792adfa in update_size ../wayland.c:1645
#7 0x55c497931ca1 in surface_enter ../wayland.c:2527
#8 0x7fc763bc8ac5 (/usr/lib/libffi.so.8+0x7ac5) (BuildId: 02fec367864097384b082accc299b6e74c83454b)
After the fix, I get no complaints.
I found this issue with address sanitizer, when normally opening this app and then exiting. It looked like this:
> Direct leak of 142848 byte(s) in 186 object(s) allocated from:
#0 0x7fc76531fba5 in realloc /usr/src/debug/gcc/gcc/libsanitizer/asan/asan_malloc_linux.cpp:81
#1 0x7fc76513376c (/usr/lib/libfontconfig.so.1+0x3376c) (BuildId: 9ce6a06434d9a60bc1e842b1864019934fb47967)
#2 0x7fc7651340da (/usr/lib/libfontconfig.so.1+0x340da) (BuildId: 9ce6a06434d9a60bc1e842b1864019934fb47967)
#3 0x7fc76512b3a5 in FcFontRenderPrepare (/usr/lib/libfontconfig.so.1+0x2b3a5) (BuildId: 9ce6a06434d9a60bc1e842b1864019934fb47967)
#4 0x7fc764ebdf80 in fcft_from_name2 (/usr/lib/libfcft.so.4+0x8f80) (BuildId: decd7a4e67b91c4abef55bb41b486264bb695043)
#5 0x55c49792a6d6 in reload_font ../wayland.c:1588
#6 0x55c49792adfa in update_size ../wayland.c:1645
#7 0x55c497931ca1 in surface_enter ../wayland.c:2527
#8 0x7fc763bc8ac5 (/usr/lib/libffi.so.8+0x7ac5) (BuildId: 02fec367864097384b082accc299b6e74c83454b)
After the fix, I get no complaints.