diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-07-31 15:02:53 +0200 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-07-31 15:02:53 +0200 |
| commit | 36d30c955b6e8cc8ab576ce5fcb8d1dd8e7c043b (patch) | |
| tree | ac03dbbfc509a97572c842602b76d33ecf957b62 /lib/Plugins/KerneloopsSysLog.cpp | |
| parent | 919f52da59965f2493ca94ffb5bd11c7ef6835f9 (diff) | |
| download | abrt-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.cpp')
| -rw-r--r-- | lib/Plugins/KerneloopsSysLog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Plugins/KerneloopsSysLog.cpp b/lib/Plugins/KerneloopsSysLog.cpp index a30fc69..e64be50 100644 --- a/lib/Plugins/KerneloopsSysLog.cpp +++ b/lib/Plugins/KerneloopsSysLog.cpp @@ -89,7 +89,7 @@ void CSysLog::ClearOopsList() m_OopsQueue.clear(); } -std::list<COops> CSysLog::GetOopsList() +const std::list<COops>& CSysLog::GetOopsList() { return m_OopsQueue; } |
