ike-cfg: Fix memory leak when matching against ranges