You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2015/08/21 18:09:26 UTC

qpid-proton git commit: PROTON-892: Fix test bug in tests/data.c, forgotten pn_data_free().

Repository: qpid-proton
Updated Branches:
  refs/heads/master 0ca6ba7e2 -> b8883c4df


PROTON-892: Fix test bug in tests/data.c, forgotten pn_data_free().


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

Branch: refs/heads/master
Commit: b8883c4dfbc900d7db39d41155144573557b25ce
Parents: 0ca6ba7
Author: Alan Conway <ac...@redhat.com>
Authored: Fri Aug 21 12:09:04 2015 -0400
Committer: Alan Conway <ac...@redhat.com>
Committed: Fri Aug 21 12:09:04 2015 -0400

----------------------------------------------------------------------
 proton-c/src/tests/data.c | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/b8883c4d/proton-c/src/tests/data.c
----------------------------------------------------------------------
diff --git a/proton-c/src/tests/data.c b/proton-c/src/tests/data.c
index 9994788..8fb8217 100644
--- a/proton-c/src/tests/data.c
+++ b/proton-c/src/tests/data.c
@@ -41,6 +41,7 @@ static void test_grow(void)
     fprintf(stderr, "expected PN_OUT_OF_MEMORY, got  %s\n", pn_code(code));
   assert(code == PN_OUT_OF_MEMORY);
   assert(pn_data_size(data) == PNI_NID_MAX);
+  pn_data_free(data);
 }
 
 int main(int argc, char **argv) {


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