Fixed particle memory leak.