1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00
freebsd-ports/audio/icecast2/files/patch-src-stats.c
Sunpoet Po-Chuan Hsieh 583989406c - 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
2012-04-27 11:09:33 +00:00

15 lines
547 B
C

--- 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