From b8f59807ceb66ad0408182fd0b70a971137ad4ae Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Sat, 20 Jul 2013 14:02:49 -0700 Subject: [PATCH] libevent/win32_dealloc() : fix sizeof(pointer) vs sizeof(*pointer) --- win32select.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win32select.c b/win32select.c index 00ce27af..1743b01e 100644 --- a/win32select.c +++ b/win32select.c @@ -372,6 +372,6 @@ win32_dealloc(struct event_base *_base) mm_free(win32op->exset_out); /* XXXXX free the tree. */ - memset(win32op, 0, sizeof(win32op)); + memset(win32op, 0, sizeof(*win32op)); mm_free(win32op); } -- 2.40.0