Fix crash when marking closed custom bytevector port
authorAndy Wingo <wingo@pobox.com>
Sun, 21 Jun 2009 10:41:46 +0000 (12:41 +0200)
committerAndy Wingo <wingo@pobox.com>
Sun, 21 Jun 2009 10:41:46 +0000 (12:41 +0200)
commit8806afa7dd0582f774daadafbe6ec8163b2deea8
treed3572beeaa093d27c13b55263fd472a1c1de9d1b
parent179fe3363241ea1aeb48f1f63d13d2dd12196dcf
Fix crash when marking closed custom bytevector port

* libguile/r6rs-ports.c (cbp_mark): A closed port will have had its
  stream destroyed, so don't dereference the stream in that case. Patch by
  Mike Gran.
libguile/r6rs-ports.c