Fixed some memory leaks.

develop
expwnent 2012-08-27 14:42:00 -04:00
parent 6d12368724
commit e12e7ddd40
1 changed files with 3 additions and 1 deletions

@ -1141,6 +1141,7 @@ command_result digv (color_ostream &out, vector <string> & parameters)
} }
} }
MCache->WriteAll(); MCache->WriteAll();
delete MCache;
return CR_OK; return CR_OK;
} }
@ -1354,6 +1355,7 @@ command_result digl (color_ostream &out, vector <string> & parameters)
} }
} }
MCache->WriteAll(); MCache->WriteAll();
delete MCache;
return CR_OK; return CR_OK;
} }