Commit 5183091
committed
[CID 16621] revxml: Fix memory leak in XML_ListByAttributeValue()
`XML_ListByAttributeValue()` was leaking each attribute value.
Attribute values are allocated with `strdup()`, and therefore should
be destroyed with `free()`.
Coverity-ID: 166211 parent 0c7ae50 commit 5183091
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2096 | 2096 | | |
2097 | 2097 | | |
2098 | 2098 | | |
| 2099 | + | |
2099 | 2100 | | |
2100 | 2101 | | |
2101 | 2102 | | |
| |||
0 commit comments