| OLD | NEW |
| 1 /* $OpenBSD: select.c,v 1.2 2002/06/25 15:50:15 mickey Exp $ */ | 1 /* $OpenBSD: select.c,v 1.2 2002/06/25 15:50:15 mickey Exp $ */ |
| 2 | 2 |
| 3 /* | 3 /* |
| 4 * Copyright 2000-2002 Niels Provos <provos@citi.umich.edu> | 4 * Copyright 2000-2002 Niels Provos <provos@citi.umich.edu> |
| 5 * All rights reserved. | 5 * All rights reserved. |
| 6 * | 6 * |
| 7 * Redistribution and use in source and binary forms, with or without | 7 * Redistribution and use in source and binary forms, with or without |
| 8 * modification, are permitted provided that the following conditions | 8 * modification, are permitted provided that the following conditions |
| 9 * are met: | 9 * are met: |
| 10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
| (...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 355 if (sop->event_writeset_out) | 355 if (sop->event_writeset_out) |
| 356 free(sop->event_writeset_out); | 356 free(sop->event_writeset_out); |
| 357 if (sop->event_r_by_fd) | 357 if (sop->event_r_by_fd) |
| 358 free(sop->event_r_by_fd); | 358 free(sop->event_r_by_fd); |
| 359 if (sop->event_w_by_fd) | 359 if (sop->event_w_by_fd) |
| 360 free(sop->event_w_by_fd); | 360 free(sop->event_w_by_fd); |
| 361 | 361 |
| 362 memset(sop, 0, sizeof(struct selectop)); | 362 memset(sop, 0, sizeof(struct selectop)); |
| 363 free(sop); | 363 free(sop); |
| 364 } | 364 } |
| OLD | NEW |