memory leak in exec call fixed.