From: Philip Homburg Date: Fri, 24 Mar 2006 14:05:11 +0000 (+0000) Subject: Fixed mq leak in NWIOQUERYPARAM. X-Git-Tag: v3.1.2a~155 X-Git-Url: http://zhaoyanbai.com/repos/icons/debian/static/howto.html?a=commitdiff_plain;h=e695deb8f8085e0c22dfaf0d6a773ef75d9e84d6;p=minix.git Fixed mq leak in NWIOQUERYPARAM. --- diff --git a/servers/inet/sr.c b/servers/inet/sr.c index e2c72ca51..6600dd21d 100644 --- a/servers/inet/sr.c +++ b/servers/inet/sr.c @@ -375,9 +375,7 @@ mq_t *m; (vir_bytes)m->mq_mess.NDEV_BUFFER); r= sr_put_userdata(sr_fd-sr_fd_table, r, NULL, 1); assert(r == OK); - assert(sr_fd->srf_flags & first_flag); - sr_fd->srf_flags &= ~first_flag; - return OK; + break; } /* And now, we continue with our regular program. */