plug a leak

all other rules are freeing the value of `listen_addr'
This commit is contained in:
Omar Polo 2023-08-25 12:19:49 +00:00
parent c2c051f28e
commit 7bbf17a857
1 changed files with 1 additions and 0 deletions

View File

@ -403,6 +403,7 @@ servopt : ALIAS string {
}
| LISTEN ON listen_addr {
listen_on($3, "1965");
free($3);
}
| LISTEN ON listen_addr PORT STRING {
listen_on($3, $5);