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/Bugzilla.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'lib/Plugins/Bugzilla.cpp') diff --git a/lib/Plugins/Bugzilla.cpp b/lib/Plugins/Bugzilla.cpp index 0739835..864321f 100644 --- a/lib/Plugins/Bugzilla.cpp +++ b/lib/Plugins/Bugzilla.cpp @@ -342,3 +342,13 @@ void CReporterBugzilla::LoadSettings(const std::string& pPath) m_bNoSSLVerify = settings["NoSSLVerify"] == "yes"; } } + +PLUGIN_INFO(REPORTER, + CReporterBugzilla, + "Bugzilla", + "0.0.2", + "Check if a bug isn't already reported in a bugzilla " + "and if not, report it.", + "zprikryl@redhat.com", + "https://fedorahosted.org/abrt/wiki", + PLUGINS_LIB_DIR"/Bugzilla.GTKBuilder"); -- cgit