Memory leak found thanks to LLVM static analysis