summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorKarel Klic <kklic@redhat.com>2010-01-13 14:21:26 +0100
committerKarel Klic <kklic@redhat.com>2010-01-13 14:21:26 +0100
commitd548f0263bf1d707207aabe43a7c39c8419bc9d6 (patch)
tree1fc50f9a0538e1d764f1a468abc694bb81f88426 /lib
parentdf1d7cd05d8f6abba8c713e773828deee19baf22 (diff)
parentf5925030be2963ddf257e6768dcd5712b0e6df08 (diff)
downloadabrt-d548f0263bf1d707207aabe43a7c39c8419bc9d6.tar.gz
abrt-d548f0263bf1d707207aabe43a7c39c8419bc9d6.tar.xz
abrt-d548f0263bf1d707207aabe43a7c39c8419bc9d6.zip
Merge branch 'master' of ssh://git.fedorahosted.org/git/abrt
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 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);
}
}
}