diff options
author | Thomas White <taw@physics.org> | 2014-01-21 11:18:46 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2014-01-21 11:24:47 +0100 |
commit | 98879100c72e0db3e1861f0bb3b6557f834be133 (patch) | |
tree | 7a01de628c2cf220126cefb9296bae38e052f81f /doc | |
parent | 233487cb155a6ad7a3f7443e6da90f3b08d2ff61 (diff) |
Free det->defaults.clen_from only once
The "defaults" structure gets copied along with everything else by copy_geom().
Therefore, the same pointer might end up in two places leading to a double free.
Better to free it once only after reading the geometry.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions