You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-commits@axis.apache.org by bi...@apache.org on 2018/08/18 01:35:36 UTC

svn commit: r1838299 - /axis/axis2/c/core/trunk/axiom/test/om/test_om.cc

Author: billblough
Date: Sat Aug 18 01:35:36 2018
New Revision: 1838299

URL: http://svn.apache.org/viewvc?rev=1838299&view=rev
Log:
Fix memleaks in axiom/test_om

Modified:
    axis/axis2/c/core/trunk/axiom/test/om/test_om.cc

Modified: axis/axis2/c/core/trunk/axiom/test/om/test_om.cc
URL: http://svn.apache.org/viewvc/axis/axis2/c/core/trunk/axiom/test/om/test_om.cc?rev=1838299&r1=1838298&r2=1838299&view=diff
==============================================================================
--- axis/axis2/c/core/trunk/axiom/test/om/test_om.cc (original)
+++ axis/axis2/c/core/trunk/axiom/test/om/test_om.cc Sat Aug 18 01:35:36 2018
@@ -433,6 +433,8 @@ TEST_F(TestOM, test_attribute)
     //TODO test clone
 
     //TODO free?  Also trace down other invalid free(s) in test (per valgrind)
+    axiom_attribute_free(attr, m_env);
+    axiom_namespace_free(ns1, m_env);
 
 
 }