diff options
author | Niels Provos <provos@gmail.com> | 2003-10-11 02:54:41 +0000 |
---|---|---|
committer | Niels Provos <provos@gmail.com> | 2003-10-11 02:54:41 +0000 |
commit | e9cd9b56a3fbf5f19f5f241c730666c7f3d89bcd (patch) | |
tree | 5068bfd8f3ea1225209223218bea8498e2ce3579 /kqueue.c | |
parent | 1d66008bbf3ce97ec23e7193cb4daefda06d1955 (diff) | |
download | libevent-e9cd9b56a3fbf5f19f5f241c730666c7f3d89bcd.tar.gz |
bad realloc; found by awohl at chessclub
svn:r87
Diffstat (limited to 'kqueue.c')
-rw-r--r-- | kqueue.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -155,7 +155,7 @@ kq_insert(struct kqop *kqop, struct kevent *kev) } kqop->changes = newchange; - newresult = realloc(kqop->changes, + newresult = realloc(kqop->events, nevents * sizeof(struct kevent)); /* |