Commit 1fdf2521 authored by Max Kellermann's avatar Max Kellermann

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
......@@ -54,6 +54,8 @@ static void shout_mp3_encoder_finish(struct shout_data *sd)
lame_close(ld->gfp);
ld->gfp = NULL;
g_free(ld);
}
static int shout_mp3_encoder_init_encoder(struct shout_data *sd)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment