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
82c1d83c
Commit
82c1d83c
authored
Dec 15, 2008
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xtag_free don't need to return anything.
parent
dfce44aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
modules/misc/xml/xtag.c
modules/misc/xml/xtag.c
+3
-5
No files found.
modules/misc/xml/xtag.c
View file @
82c1d83c
...
@@ -122,7 +122,7 @@ static char *xtag_get_attribute( XTag *, char * );
...
@@ -122,7 +122,7 @@ static char *xtag_get_attribute( XTag *, char * );
#endif
#endif
static
XTag
*
xtag_first_child
(
XTag
*
,
char
*
);
static
XTag
*
xtag_first_child
(
XTag
*
,
char
*
);
static
XTag
*
xtag_next_child
(
XTag
*
,
char
*
);
static
XTag
*
xtag_next_child
(
XTag
*
,
char
*
);
static
XTag
*
xtag_free
(
XTag
*
);
static
void
xtag_free
(
XTag
*
);
static
int
xtag_snprint
(
char
*
,
int
,
XTag
*
);
static
int
xtag_snprint
(
char
*
,
int
,
XTag
*
);
/*****************************************************************************
/*****************************************************************************
...
@@ -756,14 +756,14 @@ static XTag *xtag_parse_tag( XTagParser *parser )
...
@@ -756,14 +756,14 @@ static XTag *xtag_parse_tag( XTagParser *parser )
return
tag
;
return
tag
;
}
}
static
XTag
*
xtag_free
(
XTag
*
xtag
)
static
void
xtag_free
(
XTag
*
xtag
)
{
{
XList
*
l
;
XList
*
l
;
XAttribute
*
attr
;
XAttribute
*
attr
;
XTag
*
child
;
XTag
*
child
;
if
(
!
xtag
)
if
(
!
xtag
)
return
NULL
;
return
;
free
(
xtag
->
name
);
free
(
xtag
->
name
);
free
(
xtag
->
pcdata
);
free
(
xtag
->
pcdata
);
...
@@ -787,8 +787,6 @@ static XTag *xtag_free( XTag *xtag )
...
@@ -787,8 +787,6 @@ static XTag *xtag_free( XTag *xtag )
xlist_free
(
xtag
->
children
);
xlist_free
(
xtag
->
children
);
free
(
xtag
);
free
(
xtag
);
return
NULL
;
}
}
static
XTag
*
xtag_new_parse
(
const
char
*
s
,
int
n
)
static
XTag
*
xtag_new_parse
(
const
char
*
s
,
int
n
)
...
...
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