qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tr...@apache.org
Subject [6/9] qpid-dispatch git commit: DISPATCH-847 - Fixed Coverity issue 162698 (Memory leak)
Date Wed, 04 Oct 2017 14:48:50 GMT
DISPATCH-847 - Fixed Coverity issue 162698 (Memory leak)


Project: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/commit/d55ef962
Tree: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/tree/d55ef962
Diff: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/diff/d55ef962

Branch: refs/heads/master
Commit: d55ef962d7f6c8e8eacb051b5381c39884b2aef8
Parents: 0ed04a2
Author: Ted Ross <tross@redhat.com>
Authored: Wed Oct 4 10:18:51 2017 -0400
Committer: Ted Ross <tross@redhat.com>
Committed: Wed Oct 4 10:18:51 2017 -0400

----------------------------------------------------------------------
 src/parse.c | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/d55ef962/src/parse.c
----------------------------------------------------------------------
diff --git a/src/parse.c b/src/parse.c
index c19455d..b0685fb 100644
--- a/src/parse.c
+++ b/src/parse.c
@@ -228,6 +228,7 @@ const char *qd_parse_turbo(qd_iterator_t          *iter,
         parse_error = get_type_info(iter, &turbo->tag, &turbo->size, &turbo->count,
                                     &turbo->length_of_size, &turbo->length_of_count);
         if (parse_error) {
+            free_qd_parsed_turbo_t(turbo);
             return parse_error;
         }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message