You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by ma...@apache.org on 2011/03/27 17:15:11 UTC

[lucy-commits] svn commit: r1085960 - /incubator/lucy/trunk/core/Lucy/Test/Index/TestPolyReader.c

Author: marvin
Date: Sun Mar 27 15:15:11 2011
New Revision: 1085960

URL: http://svn.apache.org/viewvc?rev=1085960&view=rev
Log:
Fix a memory leak in a test file.

Modified:
    incubator/lucy/trunk/core/Lucy/Test/Index/TestPolyReader.c

Modified: incubator/lucy/trunk/core/Lucy/Test/Index/TestPolyReader.c
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Test/Index/TestPolyReader.c?rev=1085960&r1=1085959&r2=1085960&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Test/Index/TestPolyReader.c (original)
+++ incubator/lucy/trunk/core/Lucy/Test/Index/TestPolyReader.c Sun Mar 27 15:15:11 2011
@@ -36,6 +36,7 @@ test_sub_tick(TestBatch *batch)
   }
   TEST_INT_EQ(batch, i, num_segs, "got all sub_tick() calls right");
   DECREF(offsets);
+  FREEMEM(ints);
 }
 
 void