main: only call cairo_debug_reset_static_data() in debug builds
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Calling cairo_debug_reset_static_data() is necessary when Valgrind debugging, to not drown in false positives. However, librsvg isn’t Valgrind clean. So, to prevent release builds from getting random crashes due to cairo asserting in cairo_debug_reset_static_data(), only call it in debug builds.
authored by Daniel Eklöf · committed by Daniel Eklöf · parent 683bb53 · Browse files · 1 file+1 added−1 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+1 added−1 removed
- other:+1 added−1 removed