summaryrefslogtreecommitdiffstats
path: root/lib/plugins
diff options
context:
space:
mode:
authorNikola Pajkovsky <npajkovs@redhat.com>2010-08-17 15:09:04 +0200
committerNikola Pajkovsky <npajkovs@redhat.com>2010-08-17 15:09:04 +0200
commit02b874b245cf59249fb90b163ec884e2f2c4cdbe (patch)
tree02ddab12ebfa9e90d79e47c5978497e1a212fe64 /lib/plugins
parentab5ee6c07719d6bb6a3d387f88f96ab783d8b8c7 (diff)
downloadabrt-02b874b245cf59249fb90b163ec884e2f2c4cdbe.tar.gz
abrt-02b874b245cf59249fb90b163ec884e2f2c4cdbe.tar.xz
abrt-02b874b245cf59249fb90b163ec884e2f2c4cdbe.zip
fix double free
when add_comment() fails it's always fail in xmlrpc. So we should use throw_xml_fault() instead of throw_if_xml_fault_occurred() Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
Diffstat (limited to 'lib/plugins')
-rw-r--r--lib/plugins/Bugzilla.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/plugins/Bugzilla.cpp b/lib/plugins/Bugzilla.cpp
index e494f082..55a957be 100644
--- a/lib/plugins/Bugzilla.cpp
+++ b/lib/plugins/Bugzilla.cpp
@@ -902,7 +902,7 @@ std::string CReporterBugzilla::Report(const map_crash_data_t& pCrashData,
{
free(full_dsc);
bug_info_destroy(&bz);
- throw_if_xml_fault_occurred(&bz_server.env);
+ throw_xml_fault(&bz_server.env);
}
free(full_dsc);
}