Possible way to replicate memory leak