mirror of
https://github.com/libratbag/libratbag.git
synced 2026-11-07 23:23:52 +01:00
https://bugs.llvm.org/show_bug.cgi?id=3888 clang analyzer doesn't know how to handle __attribute__(cleanup()). There are only 2 warnings raised because the analyzer only look at the current compilation unit for checking the malloc call. So only those 2 are detected by clang and then marked as memory leak. This also means our current continuous integration doesn't check for memory leaks. Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>