Source

pecl-event / classes / listener.c

Diff from to

classes/listener.c

 		return;
 	}
 
+	PHP_EVENT_REQUIRE_BASE_BY_REF(zbase);
+
 	PHP_EVENT_FETCH_BASE(base, zbase);
 
 	if (Z_TYPE_PP(ppztarget) == IS_STRING) {
 		listener = evconnlistener_new(base->base, _php_event_listener_cb,
 				(void *) l, flags, backlog, fd);
 	}
-	
+
 	if (!listener) {
 		ZVAL_NULL(zself);
 		return;