Fixed GPU memory leak.