diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-23 17:28:13 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-23 17:28:13 -0400 |
commit | 72a5e972c7467a113834221ccd18c38fe60a720b (patch) | |
tree | f3cec3c1fd1047c2978be2595993a1a6b12589e5 /src/main.cc | |
parent | 4a43c221729abcc35bfc3b09925e4ba9d0246218 (diff) | |
download | fork-ledger-72a5e972c7467a113834221ccd18c38fe60a720b.tar.gz fork-ledger-72a5e972c7467a113834221ccd18c38fe60a720b.tar.bz2 fork-ledger-72a5e972c7467a113834221ccd18c38fe60a720b.zip |
Always free memory at the end of a run
It turns out this is needed in order to properly close the pager
subprocess.
Diffstat (limited to 'src/main.cc')
-rw-r--r-- | src/main.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/main.cc b/src/main.cc index 4f99821a..2f899e5a 100644 --- a/src/main.cc +++ b/src/main.cc @@ -203,9 +203,6 @@ int main(int argc, char * argv[], char * envp[]) shutdown_memory_tracing(); #endif } else { - // Don't free anything, just let it all leak. - global_scope.release(); - INFO("Ledger ended"); } |