Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
cd6310b9
Commit
cd6310b9
authored
Jul 01, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Memory leak (CID #66)
(N/A for master)
parent
740f9a6b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
src/misc/messages.c
src/misc/messages.c
+4
-2
No files found.
src/misc/messages.c
View file @
cd6310b9
...
...
@@ -4,7 +4,7 @@
* modules, especially intf modules. See config.h for output configuration.
*****************************************************************************
* Copyright (C) 1998-2005 the VideoLAN team
* $Id$
* $Id
: 02edea820b684242846d5da7b08d16b12d7a2d14
$
*
* Authors: Vincent Seguin <seguin@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
...
...
@@ -162,7 +162,7 @@ void __msg_Destroy( vlc_object_t *p_this )
msg_subscription_t
*
__msg_Subscribe
(
vlc_object_t
*
p_this
,
int
i_queue
)
{
msg_bank_t
*
p_bank
=
&
p_this
->
p_libvlc
->
msg_bank
;
msg_subscription_t
*
p_sub
=
malloc
(
sizeof
(
msg_subscription_t
)
)
;
msg_subscription_t
*
p_sub
;
msg_queue_t
*
p_queue
=
NULL
;
int
i
;
...
...
@@ -184,6 +184,8 @@ msg_subscription_t *__msg_Subscribe( vlc_object_t *p_this, int i_queue )
vlc_mutex_lock
(
&
p_queue
->
lock
);
p_sub
=
malloc
(
sizeof
(
msg_subscription_t
)
);
/* Add subscription to the list */
INSERT_ELEM
(
p_bank
->
pp_queues
[
i_queue
]
->
pp_sub
,
p_bank
->
pp_queues
[
i_queue
]
->
i_sub
,
...
...
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