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
8323aea4
Commit
8323aea4
authored
Feb 17, 2006
by
Olivier Aubert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
src/control/mediacontrol_init.c: fix a malloc() error (spotted by Christophe Massiot)
parent
b4392aff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/control/mediacontrol_init.c
src/control/mediacontrol_init.c
+1
-1
No files found.
src/control/mediacontrol_init.c
View file @
8323aea4
...
@@ -18,7 +18,7 @@ mediacontrol_Instance* mediacontrol_new( char** args, mediacontrol_Exception *ex
...
@@ -18,7 +18,7 @@ mediacontrol_Instance* mediacontrol_new( char** args, mediacontrol_Exception *ex
i_count
++
;
i_count
++
;
}
}
ppsz_argv
=
malloc
(
i_count
+
2
)
;
ppsz_argv
=
malloc
(
(
i_count
+
2
)
*
sizeof
(
char
*
)
)
;
if
(
!
ppsz_argv
)
if
(
!
ppsz_argv
)
{
{
exception
->
code
=
mediacontrol_InternalException
;
exception
->
code
=
mediacontrol_InternalException
;
...
...
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