Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
d64628e7
Commit
d64628e7
authored
Aug 26, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
asx: Fix an input_item leak.
parent
37843abd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
modules/demux/playlist/asx.c
modules/demux/playlist/asx.c
+2
-1
No files found.
modules/demux/playlist/asx.c
View file @
d64628e7
...
@@ -232,7 +232,6 @@ static int Demux( demux_t *p_demux )
...
@@ -232,7 +232,6 @@ static int Demux( demux_t *p_demux )
char
*
psz_parse
=
NULL
;
char
*
psz_parse
=
NULL
;
char
*
psz_backup
=
NULL
;
char
*
psz_backup
=
NULL
;
bool
b_entry
=
false
;
bool
b_entry
=
false
;
input_item_t
*
p_input
;
INIT_PLAYLIST_STUFF
;
INIT_PLAYLIST_STUFF
;
/* init txt */
/* init txt */
...
@@ -459,9 +458,11 @@ static int Demux( demux_t *p_demux )
...
@@ -459,9 +458,11 @@ static int Demux( demux_t *p_demux )
psz_string
=
malloc
(
i_strlen
*
sizeof
(
char
)
+
1
);
psz_string
=
malloc
(
i_strlen
*
sizeof
(
char
)
+
1
);
memcpy
(
psz_string
,
psz_backup
,
i_strlen
);
memcpy
(
psz_string
,
psz_backup
,
i_strlen
);
psz_string
[
i_strlen
]
=
'\0'
;
psz_string
[
i_strlen
]
=
'\0'
;
input_item_t
*
p_input
;
p_input
=
input_item_New
(
p_demux
,
psz_string
,
psz_title_asx
);
p_input
=
input_item_New
(
p_demux
,
psz_string
,
psz_title_asx
);
input_item_CopyOptions
(
p_current_input
,
p_input
);
input_item_CopyOptions
(
p_current_input
,
p_input
);
input_item_AddSubItem
(
p_current_input
,
p_input
);
input_item_AddSubItem
(
p_current_input
,
p_input
);
vlc_gc_decref
(
p_input
);
free
(
psz_string
);
free
(
psz_string
);
}
}
else
continue
;
else
continue
;
...
...
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