bareos: master a9058156
Author | Committer | Branch | Timestamp | Parent | |
---|---|---|---|---|---|
Andreas Rogge | Andreas Rogge | master | 2022-02-02 13:36 | master 89f6df97 | Pending |
Changeset | dird: fix memory leak in StoreRun() previously, StoreRun() allocated a new RunResource in pass 1, but didn't free it. This patch converts StoreRun to use value semantics (i.e. just use a local RunResource object) and copy that into a heap object if needed during pass 2. |
||||
mod - core/src/dird/run_conf.cc | Diff File |