-
Notifications
You must be signed in to change notification settings - Fork 7.9k
uri: Improve exceptions for Uri\Rfc3986\Uri
#19161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
3467d7c
to
5045210
Compare
This comment was marked as resolved.
This comment was marked as resolved.
Avoid the use of a macro and streamline the logic.
5045210
to
7e2ba9d
Compare
Ah I missed this. I have a habit of always running with ASAN but I guess I should use USE_TRACKED_ALLOC more often. Funny that this is a case where ASAN hides the issue. |
Same on both ends. But already fixed. |
Yeah, I always bump into this problem that ASAN hides the memleaks. "Fortunately", I somehow didn't manage to setup ASAN for the Clion debugger/runner, so I can reproduce leaks by running tests one by one from CLion. |
@kocsismate Updated to allow empty URIs. PTAL, if this is good to you, I'll merge myself after CI is green 😄 |
ASAN should report memleaks by itself (it just doesn't catch incorrect usage of ZendMM). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM after the nit is fixed.
559529c
to
48f1824
Compare
No description provided.