Fixed client memory freeing using vanguard