Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
3c7ab8b5
Commit
3c7ab8b5
authored
Feb 17, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix warning
parent
3ce63d40
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
src/modules/modules.c
src/modules/modules.c
+2
-3
No files found.
src/modules/modules.c
View file @
3c7ab8b5
...
...
@@ -1252,8 +1252,7 @@ static module_t * AllocatePlugin( vlc_object_t * p_this, const char *psz_file )
return
NULL
;
}
/* We need to fill these since they may be needed by module_Call() */
p_module
->
psz_filename
=
psz_file
;
p_module
->
psz_filename
=
strdup
(
psz_file
);
p_module
->
handle
=
handle
;
p_module
->
b_loaded
=
true
;
...
...
@@ -1261,13 +1260,13 @@ static module_t * AllocatePlugin( vlc_object_t * p_this, const char *psz_file )
if
(
module_Call
(
p_this
,
p_module
)
!=
0
)
{
/* We couldn't call module_init() */
free
(
p_module
->
psz_filename
);
module_release
(
p_module
);
module_Unload
(
handle
);
return
NULL
;
}
DupModule
(
p_module
);
p_module
->
psz_filename
=
strdup
(
p_module
->
psz_filename
);
/* Everything worked fine ! The module is ready to be added to the list. */
p_module
->
b_builtin
=
false
;
...
...
Write
Preview
Markdown
is supported
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