summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/dig.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/dig.cpp b/plugins/dig.cpp
index c1b6f633..5e2bb9f8 100644
--- a/plugins/dig.cpp
+++ b/plugins/dig.cpp
@@ -963,7 +963,7 @@ command_result digexp (color_ostream &out, vector <string> & parameters)
mx.setDesignationAt(pos,des);
}
}
- mx.WriteAll();
+ mx.WriteAll();
}
else for(uint32_t x = 0; x < x_max; x++)
{
@@ -1141,6 +1141,7 @@ command_result digv (color_ostream &out, vector <string> & parameters)
}
}
MCache->WriteAll();
+ delete MCache;
return CR_OK;
}
@@ -1354,6 +1355,7 @@ command_result digl (color_ostream &out, vector <string> & parameters)
}
}
MCache->WriteAll();
+ delete MCache;
return CR_OK;
}