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.
|
|
|
|
|