Commit adde058
committed
resource: fix memory leaks in resource moodule
Problem: The resource module leaks a struct rlist and an R object
when loading R from configuration.
Free the intermediate rlist in convert_R_conf(), and the "R_from_config"
after it is added to the inventory.1 parent 7879439 commit adde058
2 files changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
280 | 280 | | |
281 | 281 | | |
282 | 282 | | |
| 283 | + | |
283 | 284 | | |
284 | 285 | | |
285 | 286 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
437 | 437 | | |
438 | 438 | | |
439 | 439 | | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
440 | 443 | | |
441 | 444 | | |
442 | 445 | | |
| |||
0 commit comments