commit fbc806b293c45bcf68e5676fdbfafc9f92463402 parent c18de06cb93bb5a0e0c9f6507beeead8a0c1ebc2 Author: cfillion <cfillion@users.noreply.github.com> Date: Wed, 2 Dec 2015 01:17:05 -0500 erase empty databases from memory Diffstat:
M | src/reapack.cpp | | | 2 | ++ |
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/reapack.cpp b/src/reapack.cpp @@ -95,6 +95,8 @@ void ReaPack::synchronize(Database *database) ShowMessageBox("The package database is empty, nothing to do!", "ReaPack", 0); + delete database; + return; }