Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
stored: avoid double-free in spool.cc
Near the end of DespoolData() rdev->dev_name and rdev->errmsg are freed. However, the pointers are not set to nullptr, which leads to a double-free when the dtor runs. This patch removes the FreeMemory()/FreePoolMemory() calls and leaves cleaning to the dtor alone.
- Loading branch information