Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
d293aaf9
Commit
d293aaf9
authored
7 years ago
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test/test_icy_parser: use AtScopeExit()
parent
1d559bf0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
test_icy_parser.cxx
test/test_icy_parser.cxx
+3
-3
No files found.
test/test_icy_parser.cxx
View file @
d293aaf9
...
...
@@ -3,6 +3,7 @@
*/
#include "config.h"
#include "util/ScopeExit.hxx"
/* include the .cxx file to get access to internal functions */
#include "IcyMetaDataParser.cxx"
...
...
@@ -20,9 +21,8 @@ static Tag *
icy_parse_tag
(
const
char
*
p
)
{
char
*
q
=
strdup
(
p
);
Tag
*
tag
=
icy_parse_tag
(
q
,
q
+
strlen
(
q
));
free
(
q
);
return
tag
;
AtScopeExit
(
q
)
{
free
(
q
);
};
return
icy_parse_tag
(
q
,
q
+
strlen
(
q
));
}
static
void
...
...
This diff is collapsed.
Click to expand it.
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