(https://bugzilla.novell.com/523919). When looking at the code, I found that also the ptr pointer can leak.