Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
Icecast-Server
Commits
55b5b7eb
Commit
55b5b7eb
authored
Oct 17, 2007
by
Karl Heyes
Browse files
minor memory leak fixed
svn path=/icecast/trunk/icecast/; revision=14004
parent
ba438dd7
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cfgfile.c
View file @
55b5b7eb
...
...
@@ -172,6 +172,7 @@ void config_clear(ice_config_t *c)
free
(
c
->
config_filename
);
xmlFree
(
c
->
server_id
);
if
(
c
->
location
)
xmlFree
(
c
->
location
);
if
(
c
->
admin
)
xmlFree
(
c
->
admin
);
if
(
c
->
source_password
)
xmlFree
(
c
->
source_password
);
...
...
@@ -188,6 +189,7 @@ void config_clear(ice_config_t *c)
if
(
c
->
log_dir
)
xmlFree
(
c
->
log_dir
);
if
(
c
->
webroot_dir
)
xmlFree
(
c
->
webroot_dir
);
if
(
c
->
adminroot_dir
)
xmlFree
(
c
->
adminroot_dir
);
if
(
c
->
cert_file
)
xmlFree
(
c
->
cert_file
);
if
(
c
->
pidfile
)
xmlFree
(
c
->
pidfile
);
if
(
c
->
playlist_log
)
xmlFree
(
c
->
playlist_log
);
...
...
Write
Preview
Supports
Markdown
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