This could cause a free to be made on memory not owned anymore. This could happen in case of networking errors.
Add a test to ensure that the double free could not happen anymore.
(cherry picked from commit 792cdc3d)
This could cause a free to be made on memory not owned anymore. This could happen in case of networking errors.
Add a test to ensure that the double free could not happen anymore.
(cherry picked from commit 792cdc3d)