Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
9f895cda
Commit
9f895cda
authored
Jul 13, 2013
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix potential double free (#cid 403064)
parent
cb55a7ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
modules/control/rc.c
modules/control/rc.c
+4
-0
No files found.
modules/control/rc.c
View file @
9f895cda
...
@@ -320,7 +320,11 @@ static int Activate( vlc_object_t *p_this )
...
@@ -320,7 +320,11 @@ static int Activate( vlc_object_t *p_this )
intf_sys_t
*
p_sys
=
malloc
(
sizeof
(
*
p_sys
)
);
intf_sys_t
*
p_sys
=
malloc
(
sizeof
(
*
p_sys
)
);
if
(
unlikely
(
p_sys
==
NULL
)
)
if
(
unlikely
(
p_sys
==
NULL
)
)
{
net_ListenClose
(
p_sys
->
pi_socket_listen
);
free
(
psz_unix_path
);
return
VLC_ENOMEM
;
return
VLC_ENOMEM
;
}
p_intf
->
p_sys
=
p_sys
;
p_intf
->
p_sys
=
p_sys
;
p_sys
->
pi_socket_listen
=
pi_socket
;
p_sys
->
pi_socket_listen
=
pi_socket
;
...
...
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