Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
d2858830
Commit
d2858830
authored
Feb 04, 2006
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Memleak
parent
058456af
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
src/misc/messages.c
src/misc/messages.c
+4
-1
No files found.
src/misc/messages.c
View file @
d2858830
...
@@ -133,7 +133,7 @@ void __msg_Flush( vlc_object_t *p_this )
...
@@ -133,7 +133,7 @@ void __msg_Flush( vlc_object_t *p_this )
void
__msg_Destroy
(
vlc_object_t
*
p_this
)
void
__msg_Destroy
(
vlc_object_t
*
p_this
)
{
{
int
i
;
int
i
;
for
(
i
=
0
;
i
<
p_this
->
p_libvlc
->
msg_bank
.
i_queues
;
i
++
)
for
(
i
=
p_this
->
p_libvlc
->
msg_bank
.
i_queues
-
1
;
i
>=
0
;
i
--
)
{
{
msg_queue_t
*
p_queue
=
p_this
->
p_libvlc
->
msg_bank
.
pp_queues
[
i
];
msg_queue_t
*
p_queue
=
p_this
->
p_libvlc
->
msg_bank
.
pp_queues
[
i
];
if
(
p_queue
->
i_sub
)
if
(
p_queue
->
i_sub
)
...
@@ -148,6 +148,9 @@ void __msg_Destroy( vlc_object_t *p_this )
...
@@ -148,6 +148,9 @@ void __msg_Destroy( vlc_object_t *p_this )
#endif
#endif
/* Destroy lock */
/* Destroy lock */
vlc_mutex_destroy
(
&
p_queue
->
lock
);
vlc_mutex_destroy
(
&
p_queue
->
lock
);
REMOVE_ELEM
(
p_this
->
p_libvlc
->
msg_bank
.
pp_queues
,
p_this
->
p_libvlc
->
msg_bank
.
i_queues
,
i
);
free
(
p_queue
);
}
}
vlc_mutex_destroy
(
&
(
p_this
->
p_libvlc
->
msg_bank
.
lock
)
);
vlc_mutex_destroy
(
&
(
p_this
->
p_libvlc
->
msg_bank
.
lock
)
);
}
}
...
...
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