Resource leak and use uninitialized variable