From e60c006499ec9a1604f85f84a98145535a7ad0a7 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 31 Jul 2009 15:13:38 +0200 Subject: Move PLUGIN_INFOs to .cpp files: same object must never be defined twice and if structure is defined in a .h file, that happens. Since this particular structure has non-trivial destructor, it was running twice and resulted in double-free. Signed-off-by: Denys Vlasenko --- lib/Plugins/Kerneloops.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'lib/Plugins/Kerneloops.cpp') diff --git a/lib/Plugins/Kerneloops.cpp b/lib/Plugins/Kerneloops.cpp index f4714834..1eabd215 100644 --- a/lib/Plugins/Kerneloops.cpp +++ b/lib/Plugins/Kerneloops.cpp @@ -61,3 +61,12 @@ std::string CAnalyzerKerneloops::GetGlobalUUID(const std::string& pDebugDumpDir) { return GetLocalUUID(pDebugDumpDir); } + +PLUGIN_INFO(ANALYZER, + CAnalyzerKerneloops, + "Kerneloops", + "0.0.2", + "Abrt's Kerneloops plugin.", + "anton@redhat.com", + "https://people.redhat.com/aarapov", + ""); -- cgit