mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
- 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:
parent
64635e521e
commit
583989406c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=295603
@ -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/ \
|
||||
|
14
audio/icecast2/files/patch-src-stats.c
Normal file
14
audio/icecast2/files/patch-src-stats.c
Normal 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
|
Loading…
Reference in New Issue
Block a user