Skip to content

Commit 3c2a570

Browse files
committed
Remove useless zval_ptr_dtor() in php_userstreamop_write()
At this point, retval is either false or converted to a long.
1 parent 5c956f9 commit 3c2a570

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

main/streams/userspace.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -602,8 +602,6 @@ static ssize_t php_userstreamop_write(php_stream *stream, const char *buf, size_
602602
didwrite = count;
603603
}
604604

605-
zval_ptr_dtor(&retval);
606-
607605
return didwrite;
608606
}
609607

0 commit comments

Comments
 (0)