Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
Icecast-libshout
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
16
Issues
16
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xiph.Org
Icecast-libshout
Commits
f2903268
Commit
f2903268
authored
Feb 26, 2003
by
brendan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Naughty little buglet in util_dict_free. Thanks oddsock.
svn path=/trunk/libshout/; revision=4375
parent
58ddf196
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
src/util.c
src/util.c
+7
-4
No files found.
src/util.c
View file @
f2903268
...
...
@@ -134,16 +134,19 @@ util_dict *util_dict_new(void)
void
util_dict_free
(
util_dict
*
dict
)
{
util_dict
*
cur
;
util_dict
*
next
;
while
(
dict
)
{
next
=
dict
->
next
;
do
{
cur
=
dict
->
next
;
if
(
dict
->
key
)
free
(
dict
->
key
);
if
(
dict
->
val
)
free
(
dict
->
val
);
free
(
dict
);
}
while
(
cur
);
dict
=
next
;
}
}
const
char
*
util_dict_get
(
util_dict
*
dict
,
const
char
*
key
)
...
...
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