Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Samo Golež
VLC
Commits
41bea794
Commit
41bea794
authored
May 18, 2021
by
Hugo Beauzée-Luyssen
Committed by
Jean-Baptiste Kempf
May 19, 2021
Browse files
cxx_helpers: url: Fix leak on error
parent
43687100
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/vlc_cxx_helpers.hpp
View file @
41bea794
...
...
@@ -423,7 +423,10 @@ public:
explicit
url
(
const
char
*
str
)
{
if
(
vlc_UrlParse
(
this
,
str
)
)
{
vlc_UrlClean
(
this
);
throw
invalid
(
str
);
}
}
explicit
url
(
const
std
::
string
&
str
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment