Fixed constructor (leak found my LLVM analyzer)