php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #59680
Patch proposed_fix revision 2013-01-31 19:15 UTC by tony2001@php.net

Patch proposed_fix for libevent Bug #59680

Patch version 2013-01-31 19:15 UTC

Return to Bug #59680 | Download this patch
Patch Revisions:

Developer: tony2001@php.net

Index: libevent.c
===================================================================
--- libevent.c	(revision 325894)
+++ libevent.c	(working copy)
@@ -605,6 +605,8 @@
 		ret = event_add(event->event, &time);
 	}
 
+	zval_add_ref(&zevent);
+
 	if (ret != 0) {
 		RETURN_FALSE;
 	}
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 20:01:29 2024 UTC