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
Steve Lhomme
VLC
Commits
16afc893
Commit
16afc893
authored
Mar 26, 2008
by
Rémi Denis-Courmont
Browse files
Fix memory leak
parent
e0105d9b
Changes
1
Show whitespace changes
Inline
Side-by-side
src/modules/modules.c
View file @
16afc893
...
...
@@ -691,10 +691,7 @@ found_shortcut:
/* This assumes that p_this is the object which will be using the
* module. That's not always the case ... but it is in most cases.
*/
if
(
psz_alias
)
p_this
->
psz_object_name
=
strdup
(
psz_alias
);
else
p_this
->
psz_object_name
=
strdup
(
p_module
->
psz_object_name
);
p_this
->
psz_object_name
=
p_module
->
psz_object_name
;
}
free
(
psz_shortcuts
);
...
...
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