diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2011-01-25 21:02:22 +0100 |
---|---|---|
committer | Denys Vlasenko <dvlasenk@redhat.com> | 2011-01-25 21:02:22 +0100 |
commit | 5b9e9ee58b4c778b3c07c1960b874efd058c21a0 (patch) | |
tree | b1241946f882e0f443f8c85a3a4aa8de6d0c05e9 /src | |
parent | 14fea7f8299a1bd82101f28d4106ee2f399527fc (diff) | |
download | abrt-5b9e9ee58b4c778b3c07c1960b874efd058c21a0.tar.gz abrt-5b9e9ee58b4c778b3c07c1960b874efd058c21a0.tar.xz abrt-5b9e9ee58b4c778b3c07c1960b874efd058c21a0.zip |
plug memory leak on error paths
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/abrt-action-bugzilla.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/abrt-action-bugzilla.cpp b/src/plugins/abrt-action-bugzilla.cpp index 4dfafe90..abbd53ae 100644 --- a/src/plugins/abrt-action-bugzilla.cpp +++ b/src/plugins/abrt-action-bugzilla.cpp @@ -685,6 +685,7 @@ static void report_to_bugzilla( char *product = NULL; char *version = NULL; parse_release(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) { |