summaryrefslogtreecommitdiffstats
path: root/lib/Plugins/KerneloopsReporter.h
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-07-31 15:13:38 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-07-31 15:13:38 +0200
commite60c006499ec9a1604f85f84a98145535a7ad0a7 (patch)
tree8697c803a43e1b0a0bba0e7f2cb3d05573baa683 /lib/Plugins/KerneloopsReporter.h
parentf9a9c1ddeaff8e0fc6e1c5b1fb323c4da4763401 (diff)
downloadabrt-e60c006499ec9a1604f85f84a98145535a7ad0a7.tar.gz
abrt-e60c006499ec9a1604f85f84a98145535a7ad0a7.tar.xz
abrt-e60c006499ec9a1604f85f84a98145535a7ad0a7.zip
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 <vda.linux@googlemail.com>
Diffstat (limited to 'lib/Plugins/KerneloopsReporter.h')
-rw-r--r--lib/Plugins/KerneloopsReporter.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/Plugins/KerneloopsReporter.h b/lib/Plugins/KerneloopsReporter.h
index aea774d8..a5e06836 100644
--- a/lib/Plugins/KerneloopsReporter.h
+++ b/lib/Plugins/KerneloopsReporter.h
@@ -45,13 +45,4 @@ class CKerneloopsReporter : public CReporter
virtual void Report(const map_crash_report_t& pCrashReport, const std::string& pArgs);
};
-PLUGIN_INFO(REPORTER,
- CKerneloopsReporter,
- "KerneloopsReporter",
- "0.0.1",
- "Sends the Kerneloops crash information to Kerneloopsoops.org",
- "anton@redhat.com",
- "http://people.redhat.com/aarapov",
- PLUGINS_LIB_DIR"/KerneloopsReporter.GTKBuilder");
-
#endif