Commit b4c158d
committed
dpif-netlink: Fix potential leak of a malformed meters netlink reply.
If netlink transaction returns malformed or otherwise not parsable
reply, it should be freed, as callers will not do that on failure.
Found while reading the code.
Fixes: 80738e5 ("dpif-netlink: Add meter support.")
Acked-by: Aaron Conole <[email protected]>
Signed-off-by: Ilya Maximets <[email protected]>1 parent 5148ef2 commit b4c158d
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4083 | 4083 | | |
4084 | 4084 | | |
4085 | 4085 | | |
| 4086 | + | |
4086 | 4087 | | |
4087 | 4088 | | |
4088 | 4089 | | |
| |||
0 commit comments