From: Michael Gernoth Date: Tue, 15 Jan 2008 22:19:49 +0000 (+0100) Subject: Fix for shared memory leak by Kurt Miller. X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/micropolis/commitdiff_plain/e4f86d1a275c73c3da8a84f3411644b035ae7470 Fix for shared memory leak by Kurt Miller. Thanks to Deanna Phillips for forwarding it. --- diff --git a/src/sim/w_tk.c b/src/sim/w_tk.c index 2a380b3..ceed33a 100644 --- a/src/sim/w_tk.c +++ b/src/sim/w_tk.c @@ -819,7 +819,7 @@ tk_main() Tk_MainLoop(); - sim_exit(0); // Just sets tkMustExit and ExitReturn + sim_really_exit(0); bail: