Skip to content

Commit 180b9e1

Browse files
committed
Fix for bug #63811
1 parent 66b88c9 commit 180b9e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/streams/userspace.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ static php_stream *user_wrapper_opendir(php_stream_wrapper *wrapper, char *filen
458458
us->wrapper = uwrap;
459459

460460
us->object = user_stream_create_object(uwrap, context TSRMLS_CC);
461-
if(us == NULL) {
461+
if(us->object == NULL) {
462462
FG(user_stream_current_filename) = NULL;
463463
efree(us);
464464
return NULL;

0 commit comments

Comments
 (0)