diff options
-rw-r--r-- | src/cull_list.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cull_list.cpp b/src/cull_list.cpp index 0951a3224..a911cbc78 100644 --- a/src/cull_list.cpp +++ b/src/cull_list.cpp @@ -95,7 +95,9 @@ CullItem::CullItem(userrec* u, const char* r) CullItem::~CullItem() { - free(reason); + if (reason) + free(reason); + reason = NULL; } userrec* CullItem::GetUser() |