Add lines to free unfreed memory