fixed memory leak in wlog
Merge pull request #8 from MartinHaimberger/wlogfix

fixed memory leak in wlog