Please verify new memory alocation in valgrind, may be after app closed can be memory leaks.