mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
- Fix a memory leak.
PR: ports/156902 Submitted by: Thorkill <ml@grid.einherjar.de> Approved by: maintainer
This commit is contained in:
parent
a1f729e80f
commit
252f2e8e67
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=274826
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= collectd
|
||||
PORTVERSION= 4.10.3
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net-mgmt
|
||||
MASTER_SITES= http://collectd.org/files/
|
||||
|
||||
|
10
net-mgmt/collectd/files/patch-src__meta_data.c
Normal file
10
net-mgmt/collectd/files/patch-src__meta_data.c
Normal file
@ -0,0 +1,10 @@
|
||||
--- ./src/meta_data.c.orig 2011-05-30 06:58:07.055492500 -0400
|
||||
+++ ./src/meta_data.c 2011-05-30 06:59:10.383490225 -0400
|
||||
@@ -215,6 +215,7 @@
|
||||
return;
|
||||
|
||||
md_entry_free (md->head);
|
||||
+ pthread_mutex_destroy(&md->lock);
|
||||
free (md);
|
||||
} /* }}} void meta_data_destroy */
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= collectd
|
||||
PORTVERSION= 4.10.3
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net-mgmt
|
||||
MASTER_SITES= http://collectd.org/files/
|
||||
|
||||
|
10
net-mgmt/collectd5/files/patch-src__meta_data.c
Normal file
10
net-mgmt/collectd5/files/patch-src__meta_data.c
Normal file
@ -0,0 +1,10 @@
|
||||
--- ./src/meta_data.c.orig 2011-05-30 06:58:07.055492500 -0400
|
||||
+++ ./src/meta_data.c 2011-05-30 06:59:10.383490225 -0400
|
||||
@@ -215,6 +215,7 @@
|
||||
return;
|
||||
|
||||
md_entry_free (md->head);
|
||||
+ pthread_mutex_destroy(&md->lock);
|
||||
free (md);
|
||||
} /* }}} void meta_data_destroy */
|
||||
|
Loading…
Reference in New Issue
Block a user