Create dox file
Memory leak fixed