]> Zhao Yanbai Git Server - minix.git/commitdiff
Fixed mq leak in NWIOQUERYPARAM.
authorPhilip Homburg <philip@cs.vu.nl>
Fri, 24 Mar 2006 14:05:11 +0000 (14:05 +0000)
committerPhilip Homburg <philip@cs.vu.nl>
Fri, 24 Mar 2006 14:05:11 +0000 (14:05 +0000)
servers/inet/sr.c

index e2c72ca5191e65783354f9312517fca20f854074..6600dd21d3a2c5196de241c3bf70d692be2bf128 100644 (file)
@@ -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. */