DES: Fix memory leak with CTR mode