Stable: 2.5.2
Development: 2.6-alpha3
This patch eliminates memory leak when playing internet stream.
--- player.c.orig 2005-09-09 08:20:13.000000000 +0000
+++ player.c
@@ -378,6 +378,8 @@ static void update_tags (const struct de
show_tags (curr_tags);
tags_changed = 1;
}
+ else
+ free(stream_title);
if (tags_changed)
tags_change ();
http://kala.ee/rix/moc-player-c.patch
rivvah
Sat, 2005-12-10 19:30
Permalink
confirmed working
I think this should be promoted to the patches page -- it's fixed the memory leak for me w/2.3.2 on Fedora Core 4 as well, mocp being run detached and served by SlimServer on the same localhost streaming various stations. Thanks!
rivvah