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
c766082c
Commit
c766082c
authored
Jun 19, 2009
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
http interface: strdup memleaks
parent
34102147
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
modules/control/http/util.c
modules/control/http/util.c
+16
-0
No files found.
modules/control/http/util.c
View file @
c766082c
...
...
@@ -384,51 +384,67 @@ void PlaylistListNode( intf_thread_t *p_intf, playlist_t *p_pl,
psz
=
input_item_GetTitle
(
p_node
->
p_input
);
mvar_AppendNewVar
(
itm
,
"title"
,
psz
);
free
(
psz
);
psz
=
input_item_GetArtist
(
p_node
->
p_input
);
mvar_AppendNewVar
(
itm
,
"artist"
,
psz
);
free
(
psz
);
psz
=
input_item_GetGenre
(
p_node
->
p_input
);
mvar_AppendNewVar
(
itm
,
"genre"
,
psz
);
free
(
psz
);
psz
=
input_item_GetCopyright
(
p_node
->
p_input
);
mvar_AppendNewVar
(
itm
,
"copyright"
,
psz
);
free
(
psz
);
psz
=
input_item_GetAlbum
(
p_node
->
p_input
);
mvar_AppendNewVar
(
itm
,
"album"
,
psz
);
free
(
psz
);
psz
=
input_item_GetTrackNum
(
p_node
->
p_input
);
mvar_AppendNewVar
(
itm
,
"track"
,
psz
);
free
(
psz
);
psz
=
input_item_GetDescription
(
p_node
->
p_input
);
mvar_AppendNewVar
(
itm
,
"description"
,
psz
);
free
(
psz
);
psz
=
input_item_GetRating
(
p_node
->
p_input
);
mvar_AppendNewVar
(
itm
,
"rating"
,
psz
);
free
(
psz
);
psz
=
input_item_GetDate
(
p_node
->
p_input
);
mvar_AppendNewVar
(
itm
,
"date"
,
psz
);
free
(
psz
);
psz
=
input_item_GetURL
(
p_node
->
p_input
);
mvar_AppendNewVar
(
itm
,
"url"
,
psz
);
free
(
psz
);
psz
=
input_item_GetLanguage
(
p_node
->
p_input
);
mvar_AppendNewVar
(
itm
,
"language"
,
psz
);
free
(
psz
);
psz
=
input_item_GetNowPlaying
(
p_node
->
p_input
);
mvar_AppendNewVar
(
itm
,
"now_playing"
,
psz
);
free
(
psz
);
psz
=
input_item_GetPublisher
(
p_node
->
p_input
);
mvar_AppendNewVar
(
itm
,
"publisher"
,
psz
);
free
(
psz
);
psz
=
input_item_GetEncodedBy
(
p_node
->
p_input
);
mvar_AppendNewVar
(
itm
,
"encoded_by"
,
psz
);
free
(
psz
);
psz
=
input_item_GetArtURL
(
p_node
->
p_input
);
mvar_AppendNewVar
(
itm
,
"art_url"
,
psz
);
free
(
psz
);
psz
=
input_item_GetTrackID
(
p_node
->
p_input
);
mvar_AppendNewVar
(
itm
,
"track_id"
,
psz
);
free
(
psz
);
mvar_AppendVar
(
s
,
itm
);
}
...
...
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