summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-01-12 16:30:40 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2010-01-12 16:30:40 +0100
commit223a6051757ac531d89c2a576da89b6b6f46ecf2 (patch)
treec23648a95bf86e2945b0fb52b677b5b5f5dc0ffb /lib
parent745c2265e8e2c1c76288900811696478f0b04cfd (diff)
downloadabrt-223a6051757ac531d89c2a576da89b6b6f46ecf2.tar.gz
abrt-223a6051757ac531d89c2a576da89b6b6f46ecf2.tar.xz
abrt-223a6051757ac531d89c2a576da89b6b6f46ecf2.zip
src/Hooks/CCpp.cpp -> src/Hooks/abrt_hook_ccpp.cpp
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/Plugins/Bugzilla.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Plugins/Bugzilla.cpp b/lib/Plugins/Bugzilla.cpp
index 2d065f6..14eb87f 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);
}
}
}