diff options
-rw-r--r-- | lib/Plugins/Bugzilla.cpp | 4 | ||||
-rw-r--r-- | src/Hooks/Makefile.am | 2 | ||||
-rw-r--r-- | src/Hooks/abrt_hook_ccpp.cpp (renamed from src/Hooks/CCpp.cpp) | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/lib/Plugins/Bugzilla.cpp b/lib/Plugins/Bugzilla.cpp index 2d065f67..14eb87f6 100644 --- a/lib/Plugins/Bugzilla.cpp +++ b/lib/Plugins/Bugzilla.cpp @@ -82,8 +82,8 @@ bool ctx::check_cc_and_reporter(uint32_t bug_id, const char* login) xmlrpc_value* result = NULL; xmlrpc_client_call2(&env, m_pClient, m_pServer_info, "bugzilla.getBug", param, &result); - throw_if_xml_fault_occurred(&env); xmlrpc_DECREF(param); + throw_if_xml_fault_occurred(&env); xmlrpc_value* reporter_member = NULL; xmlrpc_struct_find_value(&env, result, "reporter", &reporter_member); @@ -298,9 +298,9 @@ void ctx::add_attachments(const char* bug_id_str, const map_crash_report_t& pCra throw_if_xml_fault_occurred(&env); xmlrpc_client_call2(&env, m_pClient, m_pServer_info, "bugzilla.addAttachment", param, &result); - throw_if_xml_fault_occurred(&env); xmlrpc_DECREF(result); xmlrpc_DECREF(param); + throw_if_xml_fault_occurred(&env); } } } diff --git a/src/Hooks/Makefile.am b/src/Hooks/Makefile.am index ebabd87b..d9c0fbaa 100644 --- a/src/Hooks/Makefile.am +++ b/src/Hooks/Makefile.am @@ -3,7 +3,7 @@ bin_PROGRAMS = dumpoops # abrt-hook-ccpp abrt_hook_ccpp_SOURCES = \ - CCpp.cpp \ + abrt_hook_ccpp.cpp \ hooklib.h hooklib.cpp abrt_hook_ccpp_CPPFLAGS = \ -I$(srcdir)/../../inc \ diff --git a/src/Hooks/CCpp.cpp b/src/Hooks/abrt_hook_ccpp.cpp index 21fe0be7..e417743d 100644 --- a/src/Hooks/CCpp.cpp +++ b/src/Hooks/abrt_hook_ccpp.cpp @@ -1,5 +1,5 @@ /* - CCpp.cpp - the hook for C/C++ crashing program + abrt_hook_ccpp.cpp - the hook for C/C++ crashing program Copyright (C) 2009 Zdenek Prikryl (zprikryl@redhat.com) Copyright (C) 2009 RedHat inc. |