mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
pf: add missing unlock on error in DIOCCHANGERULE
Fixes: ff80dd034a
Sponsored by: Rubicon Communications, LLC ("Netgate")
This commit is contained in:
parent
bf46c0a9ae
commit
826c58d665
1 changed files with 1 additions and 0 deletions
|
|
@ -3618,6 +3618,7 @@ DIOCGETRULENV_error:
|
|||
#undef ERROUT
|
||||
DIOCCHANGERULE_error:
|
||||
PF_RULES_WUNLOCK();
|
||||
PF_CONFIG_UNLOCK();
|
||||
pf_krule_free(newrule);
|
||||
pf_kkif_free(kif);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue