Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
5df21676
Commit
5df21676
authored
Nov 24, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
module_EndBank: useless NULL assignments
parent
81715185
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
12 deletions
+2
-12
src/modules/modules.c
src/modules/modules.c
+2
-12
No files found.
src/modules/modules.c
View file @
5df21676
...
...
@@ -196,25 +196,15 @@ void module_EndBank( vlc_object_t *p_this, bool b_plugins )
p_bank
->
pp_loaded_cache
[
p_bank
->
i_loaded_cache
]
->
p_module
);
free
(
p_bank
->
pp_loaded_cache
[
p_bank
->
i_loaded_cache
]
->
psz_file
);
free
(
p_bank
->
pp_loaded_cache
[
p_bank
->
i_loaded_cache
]
);
p_bank
->
pp_loaded_cache
[
p_bank
->
i_loaded_cache
]
=
NULL
;
}
}
if
(
p_bank
->
pp_loaded_cache
)
{
free
(
p_bank
->
pp_loaded_cache
);
p_bank
->
pp_loaded_cache
=
NULL
;
}
free
(
p_bank
->
pp_loaded_cache
);
while
(
p_bank
->
i_cache
--
)
{
free
(
p_bank
->
pp_cache
[
p_bank
->
i_cache
]
->
psz_file
);
free
(
p_bank
->
pp_cache
[
p_bank
->
i_cache
]
);
p_bank
->
pp_cache
[
p_bank
->
i_cache
]
=
NULL
;
}
if
(
p_bank
->
pp_cache
)
{
free
(
p_bank
->
pp_cache
);
p_bank
->
pp_cache
=
NULL
;
}
free
(
p_bank
->
pp_cache
);
#endif
while
(
p_bank
->
head
!=
NULL
)
...
...
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