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
79b0d4b2
Commit
79b0d4b2
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 move assignment
parent
41bea794
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/vlc_cxx_helpers.hpp
View file @
79b0d4b2
...
...
@@ -452,6 +452,7 @@ public:
url
&
operator
=
(
url
&&
u
)
noexcept
{
vlc_UrlClean
(
this
);
*
(
static_cast
<
vlc_url_t
*>
(
this
))
=
u
;
u
.
psz_buffer
=
nullptr
;
u
.
psz_pathbuffer
=
nullptr
;
...
...
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