sr: Free SRVs before replacing them in state_query_put_()

Refactor the shared random state's memory management so that it actually
takes ownership of the shared random value pointers.

Fixes bug 29706; bugfix on 0.2.9.1-alpha.
This commit is contained in:
teor
2019-03-09 10:50:55 +10:00
parent 9400da9b5e
commit 26e6f56023
5 changed files with 36 additions and 18 deletions
+4
View File
@@ -0,0 +1,4 @@
o Minor bugfixes (memory management):
- Refactor the shared random state's memory management so that it actually
takes ownership of the shared random value pointers.
Fixes bug 29706; bugfix on 0.2.9.1-alpha.