Skip to content

Commit d055f4f

Browse files
committed
poll: fix uninitialized backend_obj
1 parent b4ffb4f commit d055f4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/standard/poll.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ PHP_METHOD(PollWatcher, remove)
455455

456456
PHP_METHOD(PollContext, __construct)
457457
{
458-
zval *backend_obj;
458+
zval *backend_obj = NULL;
459459

460460
ZEND_PARSE_PARAMETERS_START(0, 1)
461461
Z_PARAM_OPTIONAL

0 commit comments

Comments
 (0)