[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug#129559: libpager robustness
From: |
Thomas Bushnell, BSG |
Subject: |
Bug#129559: libpager robustness |
Date: |
18 Jan 2002 12:06:52 -0800 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 |
Roland McGrath <roland@gnu.org> writes:
> I haven't checked your code, but make sure you call mach_msg_destroy
> on the bogon so that ports and ool memory get freed.
No, that would be a mistake. The caller is responsible for doing that
if the message is not recognized by any demuxer. Since we are
returning a "not recognized" return value, we shouldn't destroy the
message here.