Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
to when the image is loaded
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
Previously, we were using random(), which is really really bad.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The did when this was all done with threads, but with separate processes each worker has its own copy of
the structure already. It can be updated after every image and freed at the end.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This fixes a not-so-subtle bug introduced by 289c8a77c252e080d4d4086b848ea8fdcb604147.
|
|
|
|
|