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
69d88103
Commit
69d88103
authored
Nov 17, 2014
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vlm: memory leak
parent
78fa4a93
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
src/input/vlmshell.c
src/input/vlmshell.c
+4
-2
No files found.
src/input/vlmshell.c
View file @
69d88103
...
@@ -602,7 +602,7 @@ static int ExecuteScheduleProperty( vlm_t *p_vlm, vlm_schedule_sys_t *p_schedule
...
@@ -602,7 +602,7 @@ static int ExecuteScheduleProperty( vlm_t *p_vlm, vlm_schedule_sys_t *p_schedule
if
(
++
i
>=
i_property
)
if
(
++
i
>=
i_property
)
break
;
break
;
psz_line
=
strdup
(
ppsz_property
[
i
]
);
psz_line
=
x
strdup
(
ppsz_property
[
i
]
);
for
(
j
=
i
+
1
;
j
<
i_property
;
j
++
)
for
(
j
=
i
+
1
;
j
<
i_property
;
j
++
)
{
{
psz_line
=
xrealloc
(
psz_line
,
psz_line
=
xrealloc
(
psz_line
,
...
@@ -611,7 +611,9 @@ static int ExecuteScheduleProperty( vlm_t *p_vlm, vlm_schedule_sys_t *p_schedule
...
@@ -611,7 +611,9 @@ static int ExecuteScheduleProperty( vlm_t *p_vlm, vlm_schedule_sys_t *p_schedule
strcat
(
psz_line
,
ppsz_property
[
j
]
);
strcat
(
psz_line
,
ppsz_property
[
j
]
);
}
}
if
(
vlm_ScheduleSetup
(
p_schedule
,
"append"
,
psz_line
)
)
int
val
=
vlm_ScheduleSetup
(
p_schedule
,
"append"
,
psz_line
);
free
(
psz_line
);
if
(
val
)
goto
error
;
goto
error
;
break
;
break
;
}
}
...
...
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