mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2024-12-14 10:13:05 +02:00
a9feaba9e5
If an object free() method was called manually when a callback was set then the callback would call free() again. This meant that each free() method had to protect against a subsequent call. Instead, clear the callback (if present) before calling memContextFree(). This is faster (since there is no unecessary callback) and removes the need for semaphores to protect against a double free(). |
||
---|---|---|
.. | ||
dtd | ||
coding.xml | ||
index.xml | ||
reference.xml | ||
release.xml | ||
test.xml | ||
user-guide.xml |