summaryrefslogtreecommitdiffstats
path: root/lib/Plugins/KerneloopsSysLog.h
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-07-31 15:02:53 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-07-31 15:02:53 +0200
commit36d30c955b6e8cc8ab576ce5fcb8d1dd8e7c043b (patch)
treeac03dbbfc509a97572c842602b76d33ecf957b62 /lib/Plugins/KerneloopsSysLog.h
parent919f52da59965f2493ca94ffb5bd11c7ef6835f9 (diff)
downloadabrt-36d30c955b6e8cc8ab576ce5fcb8d1dd8e7c043b.tar.gz
abrt-36d30c955b6e8cc8ab576ce5fcb8d1dd8e7c043b.tar.xz
abrt-36d30c955b6e8cc8ab576ce5fcb8d1dd8e7c043b.zip
KerneloopsReporter: plug a leak in writefunction
Also some preparatory cleanups for future dumpoops patch are included Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'lib/Plugins/KerneloopsSysLog.h')
-rw-r--r--lib/Plugins/KerneloopsSysLog.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Plugins/KerneloopsSysLog.h b/lib/Plugins/KerneloopsSysLog.h
index ff4c8ba2..dc88d9ca 100644
--- a/lib/Plugins/KerneloopsSysLog.h
+++ b/lib/Plugins/KerneloopsSysLog.h
@@ -48,7 +48,7 @@ class CSysLog
public:
CSysLog();
- std::list<COops> GetOopsList();
+ const std::list<COops>& GetOopsList();
void ClearOopsList();
int ExtractOops(char *buffer, size_t buflen, int remove_syslog);
};