-/* $OpenBSD: parse.y,v 1.125 2021/02/01 15:13:15 tobhe Exp $ */
+/* $OpenBSD: parse.y,v 1.126 2021/02/07 00:51:53 tobhe Exp $ */
/*
* Copyright (c) 2019 Tobias Heider <tobias.heider@stusta.de>
if (create_flow(pol, ipa, ipb))
goto done;
+ iaw_free(ipa);
+ iaw_free(ipb);
src->af = dst->af = AF_INET6;
ipa = expand_keyword(src);
ipb = expand_keyword(dst);
goto done;
ret = 0;
done:
- free(ipa);
- free(ipb);
+ iaw_free(ipa);
+ iaw_free(ipb);
return (ret);
}