Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(166)

Side by Side Diff: base/third_party/libevent/poll.c

Issue 1531573008: move libevent into base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix shim path Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* $OpenBSD: poll.c,v 1.2 2002/06/25 15:50:15 mickey Exp $ */ 1 /* $OpenBSD: poll.c,v 1.2 2002/06/25 15:50:15 mickey Exp $ */
2 2
3 /* 3 /*
4 * Copyright 2000-2003 Niels Provos <provos@citi.umich.edu> 4 * Copyright 2000-2003 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 359 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 if (pop->event_r_back) 370 if (pop->event_r_back)
371 free(pop->event_r_back); 371 free(pop->event_r_back);
372 if (pop->event_w_back) 372 if (pop->event_w_back)
373 free(pop->event_w_back); 373 free(pop->event_w_back);
374 if (pop->idxplus1_by_fd) 374 if (pop->idxplus1_by_fd)
375 free(pop->idxplus1_by_fd); 375 free(pop->idxplus1_by_fd);
376 376
377 memset(pop, 0, sizeof(struct pollop)); 377 memset(pop, 0, sizeof(struct pollop));
378 free(pop); 378 free(pop);
379 } 379 }
OLDNEW
« no previous file with comments | « base/third_party/libevent/nacl_nonsfi/signal_stub.c ('k') | base/third_party/libevent/sample/Makefile.am » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698