summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2012-03-22 15:13:04 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2012-03-22 15:13:04 +0000
commitd29e9e3487b60f21b4fa2614651d6bc606a90e55 (patch)
tree11fc6ff2a0cb6a949fb0cce8ec64fa64a7d7bb00 /app-admin/syslog-ng/files
parentBump branding to fix typo in sofficerc. Thanks to livibetter for the report a... (diff)
downloadgentoo-2-d29e9e3487b60f21b4fa2614651d6bc606a90e55.tar.gz
gentoo-2-d29e9e3487b60f21b4fa2614651d6bc606a90e55.tar.bz2
gentoo-2-d29e9e3487b60f21b4fa2614651d6bc606a90e55.zip
add upstream patch for memory leak caused by messages that couldn't be flushed right away.
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Diffstat (limited to 'app-admin/syslog-ng/files')
-rw-r--r--app-admin/syslog-ng/files/syslog-ng-3.3.4-memleak.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/app-admin/syslog-ng/files/syslog-ng-3.3.4-memleak.patch b/app-admin/syslog-ng/files/syslog-ng-3.3.4-memleak.patch
new file mode 100644
index 000000000000..e0aee5cffd78
--- /dev/null
+++ b/app-admin/syslog-ng/files/syslog-ng-3.3.4-memleak.patch
@@ -0,0 +1,13 @@
+diff --git a/lib/logwriter.c b/lib/logwriter.c
+index 1c4f1c7..4411826 100644
+--- a/lib/logwriter.c
++++ b/lib/logwriter.c
+@@ -1016,7 +1016,7 @@ struct _LogWriter
+ {
+ /* push back to the queue */
+ log_queue_push_head(self->queue, lm, &path_options);
+-
++ log_msg_unref(lm);
+ msg_set_context(NULL);
+ log_msg_refcache_stop();
+ break;