uri: Improve exceptions for Uri\Rfc3986\Uri - #19161
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). |
kocsismate
left a comment
There was a problem hiding this comment.
LGTM after the nit is fixed.
559529c to
48f1824
Compare
No description provided.