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
1fdf2521
Commit
1fdf2521
authored
Feb 02, 2009
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shout_mp3: free the lame_data struct on exit
Make valgrind a little bit happier: free the global lame_data struct in the finish() method.
parent
4b7c28f9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
shout_mp3.c
src/output/shout_mp3.c
+2
-0
No files found.
src/output/shout_mp3.c
View file @
1fdf2521
...
@@ -54,6 +54,8 @@ static void shout_mp3_encoder_finish(struct shout_data *sd)
...
@@ -54,6 +54,8 @@ static void shout_mp3_encoder_finish(struct shout_data *sd)
lame_close
(
ld
->
gfp
);
lame_close
(
ld
->
gfp
);
ld
->
gfp
=
NULL
;
ld
->
gfp
=
NULL
;
g_free
(
ld
);
}
}
static
int
shout_mp3_encoder_init_encoder
(
struct
shout_data
*
sd
)
static
int
shout_mp3_encoder_init_encoder
(
struct
shout_data
*
sd
)
...
...
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