Commit 605392d
committed
aaa_diameter: fix reply cJSON ownership in dm_send_request() paths
_dm_get_message_response() detached cond->rpl.json into a temporary
reply object before wrapper cleanup ran. Now, cleanup frees only
cond->rpl.json, so the SHM-backed cJSON reply tree leaked.1 parent bf9f69f commit 605392d
1 file changed
Lines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2058 | 2058 | | |
2059 | 2059 | | |
2060 | 2060 | | |
2061 | | - | |
2062 | | - | |
2063 | | - | |
| 2061 | + | |
| 2062 | + | |
| 2063 | + | |
| 2064 | + | |
| 2065 | + | |
2064 | 2066 | | |
2065 | 2067 | | |
2066 | | - | |
2067 | | - | |
| 2068 | + | |
2068 | 2069 | | |
2069 | 2070 | | |
2070 | 2071 | | |
| |||
0 commit comments