- Fix memory leak

- Bump PORTREVISION for package change

PR:		ports/165003
Submitted by:	Eugene Grosbein <eugen@grosbein.net>
Obtained from:	http://old.nabble.com/Memory-leak-on-Icecast-2.3.2---Debian---td26691536.html
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2012-04-27 11:09:33 +00:00
parent 64635e521e
commit 583989406c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=295603
2 changed files with 15 additions and 1 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= icecast2
PORTVERSION= 2.3.2
PORTREVISION= 7
PORTREVISION= 8
PORTEPOCH= 1
CATEGORIES= audio net ipv6
MASTER_SITES= http://downloads.xiph.org/releases/icecast/ \

View File

@ -0,0 +1,14 @@
--- src/stats.c.orig 2008-05-01 10:22:40.000000000 +0800
+++ src/stats.c 2012-04-24 02:22:44.574821557 +0800
@@ -973,7 +973,11 @@
if (event->source)
{
if (show_mount && strcmp (event->source, show_mount) != 0)
+ {
+ xmlFree (name);
+ xmlFree (value);
break;
+ }
srcnode = _find_xml_node(event->source, &src_nodes, node);
}
else