diff src/console-stream.c @ 3263:d674024a8674

[xemacs-hg @ 2006-02-27 16:29:00 by crestani] - Introduce a fancy asynchronous finalization strategy on C level. - Merge the code conditioned on MC_ALLOC into the code conditioned on NEW_GC. - Remove the possibility to free objects manually outside garbage collections when the new collector is enabled.
author crestani
date Mon, 27 Feb 2006 16:29:29 +0000
parents 141c2920ea48
children ea701c23ed84 e0db3c197671
line wrap: on
line diff
--- a/src/console-stream.c	Sun Feb 26 22:51:04 2006 +0000
+++ b/src/console-stream.c	Mon Feb 27 16:29:29 2006 +0000
@@ -137,9 +137,7 @@
       if (stream_con->in != stdin)
 	retry_fclose (stream_con->in);
 
-#ifdef NEW_GC
-      mc_free (stream_con);
-#else /* not NEW_GC */
+#ifndef NEW_GC
       xfree (stream_con, struct stream_console *);
 #endif /* not NEW_GC */
       CONSOLE_STREAM_DATA (con) = NULL;