summaryrefslogtreecommitdiffstats
path: root/src/plugins/abrt-action-bugzilla.cpp
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2011-01-25 22:58:59 +0100
committerJiri Moskovcak <jmoskovc@redhat.com>2011-01-25 22:58:59 +0100
commit906e55b868745f74ea6f009c9ec3bbfb5e135036 (patch)
tree9774d243be25bf499b55b6c1dff4c714cec4daf5 /src/plugins/abrt-action-bugzilla.cpp
parentb27a8ff7442559409fe005ef721bc855b5512e3c (diff)
parent7f5cbf38caa3c6fdd0afe3a4cb7a9bd3b3010596 (diff)
downloadabrt-906e55b868745f74ea6f009c9ec3bbfb5e135036.tar.gz
abrt-906e55b868745f74ea6f009c9ec3bbfb5e135036.tar.xz
abrt-906e55b868745f74ea6f009c9ec3bbfb5e135036.zip
Merge branch 'master' of ssh://git.fedorahosted.org/git/abrt
Diffstat (limited to 'src/plugins/abrt-action-bugzilla.cpp')
-rw-r--r--src/plugins/abrt-action-bugzilla.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/abrt-action-bugzilla.cpp b/src/plugins/abrt-action-bugzilla.cpp
index 4dfafe90..ed8a7e72 100644
--- a/src/plugins/abrt-action-bugzilla.cpp
+++ b/src/plugins/abrt-action-bugzilla.cpp
@@ -328,7 +328,7 @@ xmlrpc_value* ctx::call_quicksearch_duphash(const char* component, const char* r
{
char *product = NULL;
char *version = NULL;
- parse_release(release, &product, &version);
+ parse_release_for_bz(release, &product, &version);
query = xasprintf("ALL component:\"%s\" whiteboard:\"%s\" product:\"%s\"",
component, duphash, product
);
@@ -482,7 +482,7 @@ xmlrpc_int32 ctx::new_bug(crash_data_t *crash_data, int depend_on_bugno)
char *product = NULL;
char *version = NULL;
- parse_release(release, &product, &version);
+ parse_release_for_bz(release, &product, &version);
xmlrpc_value* result = NULL;
char *summary = strbuf_free_nobuf(buf_summary);
@@ -684,7 +684,8 @@ static void report_to_bugzilla(
char *product = NULL;
char *version = NULL;
- parse_release(release, &product, &version);
+ parse_release_for_bz(release, &product, &version);
+ free(version);
xmlrpc_value *result;
if (strcmp(product, "Fedora") == 0)
@@ -761,7 +762,6 @@ static void report_to_bugzilla(
}
}
free(product);
- free(version);
if (all_bugs_size < 0)
{