Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
c7e36118
Commit
c7e36118
authored
Sep 10, 2005
by
Steve Lhomme
Browse files
variables.c: void the buffer after the memmove to avoid reusing previous values
parent
aaf44538
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/misc/variables.c
View file @
c7e36118
...
...
@@ -193,6 +193,7 @@ int __var_Create( vlc_object_t *p_this, const char *psz_name, int i_type )
p_this
->
i_vars
++
;
p_var
=
&
p_this
->
p_vars
[
i_new
];
memset
(
p_var
,
0
,
sizeof
(
*
p_var
)
);
p_var
->
i_hash
=
HashString
(
psz_name
);
p_var
->
psz_name
=
strdup
(
psz_name
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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