summaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
Diffstat (limited to 'commands')
-rw-r--r--commands/command_edit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/command_edit.cpp b/commands/command_edit.cpp
index d0d9fc087..61b2f0d7a 100644
--- a/commands/command_edit.cpp
+++ b/commands/command_edit.cpp
@@ -1031,7 +1031,7 @@ RemoveWeight::RemoveWeight(int index, bool currentDiveOnly) :
RemoveWeight::~RemoveWeight()
{
- free((void *)ws.description);
+ free_weightsystem(ws);
}
bool RemoveWeight::workToBeDone()