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
2ba8bf06
Commit
2ba8bf06
authored
Aug 06, 2009
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
delux_shoutcast: no need to strdup the string.
parent
998fa7f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
modules/demux/playlist/shoutcast.c
modules/demux/playlist/shoutcast.c
+5
-5
No files found.
modules/demux/playlist/shoutcast.c
View file @
2ba8bf06
...
...
@@ -157,7 +157,7 @@ error:
#define GET_VALUE( a ) \
if( !strcmp( psz_attrname, #a ) ) \
{ \
psz_ ## a =
strdup( psz_attrvalue )
; \
psz_ ## a =
psz_attrvalue
; \
}
/* <genrelist>
* <genre name="the name"></genre>
...
...
@@ -212,12 +212,12 @@ static int DemuxGenre( demux_t *p_demux )
msg_Warn
(
p_demux
,
"unexpected attribure %s in element %s"
,
psz_attrname
,
psz_eltname
);
free
(
psz_attrvalue
);
}
free
(
psz_attrname
);
free
(
psz_attrvalue
);
}
}
free
(
psz_eltname
);
psz_eltname
=
NULL
;
FREENULL
(
psz_eltname
)
;
break
;
case
XML_READER_TEXT
:
...
...
@@ -335,9 +335,9 @@ static int DemuxStation( demux_t *p_demux )
msg_Warn
(
p_demux
,
"unexpected attribure %s in element %s"
,
psz_attrname
,
psz_eltname
);
free
(
psz_attrvalue
);
}
free
(
psz_attrname
);
free
(
psz_attrvalue
);
}
}
else
if
(
!
strcmp
(
psz_eltname
,
"station"
)
)
...
...
@@ -369,9 +369,9 @@ static int DemuxStation( demux_t *p_demux )
msg_Warn
(
p_demux
,
"unexpected attribute %s in element %s"
,
psz_attrname
,
psz_eltname
);
free
(
psz_attrvalue
);
}
free
(
psz_attrname
);
free
(
psz_attrvalue
);
}
}
free
(
psz_eltname
);
...
...
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