Commit 350a3ab
committed
BUG/MINOR: deinit: release uri_auth admin rules
When uri_auth admin rules were implemented in 474be41
("[MEDIUM] stats: add an admin level") no attempt was made to free the
list of allocated rules, which makes valgrind unhappy upon deinit when
"stats admin" is used in the config.
To fix the issue, let's cleanup the admin rules list upon deinit where
uri_auth freeing is already handled.
While this could be backported to every stable versions, given how minor
this is and has no impact on the dying process, it is probably not worth
the effort.1 parent df93cf7 commit 350a3ab
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3284 | 3284 | | |
3285 | 3285 | | |
3286 | 3286 | | |
| 3287 | + | |
3287 | 3288 | | |
3288 | 3289 | | |
3289 | 3290 | | |
| |||
3295 | 3296 | | |
3296 | 3297 | | |
3297 | 3298 | | |
| 3299 | + | |
| 3300 | + | |
| 3301 | + | |
| 3302 | + | |
| 3303 | + | |
3298 | 3304 | | |
3299 | 3305 | | |
3300 | 3306 | | |
| |||
0 commit comments