You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by nw...@apache.org on 2013/09/09 12:55:33 UTC

[lucy-commits] [1/3] git commit: refs/heads/cfish-string-prep1 - Fix 32-bit build after _IMP migration

Updated Branches:
  refs/heads/cfish-string-prep1 ee3c8ed8f -> b0f30521d


Fix 32-bit build after _IMP migration


Project: http://git-wip-us.apache.org/repos/asf/lucy/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/1865dba6
Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/1865dba6
Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/1865dba6

Branch: refs/heads/cfish-string-prep1
Commit: 1865dba651841199509b5c5ac2a869029e80247b
Parents: ee3c8ed
Author: Nick Wellnhofer <we...@aevum.de>
Authored: Mon Sep 9 12:21:49 2013 +0200
Committer: Nick Wellnhofer <we...@aevum.de>
Committed: Mon Sep 9 12:23:42 2013 +0200

----------------------------------------------------------------------
 core/Lucy/Store/FSFileHandle.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy/blob/1865dba6/core/Lucy/Store/FSFileHandle.c
----------------------------------------------------------------------
diff --git a/core/Lucy/Store/FSFileHandle.c b/core/Lucy/Store/FSFileHandle.c
index 5d10975..020eb9f 100644
--- a/core/Lucy/Store/FSFileHandle.c
+++ b/core/Lucy/Store/FSFileHandle.c
@@ -290,7 +290,7 @@ static CFISH_INLINE bool
 SI_window(FSFileHandle *self, FSFileHandleIVARS *ivars, FileWindow *window,
           int64_t offset, int64_t len) {
     // Release the previously mmap'd region, if any.
-    FSFH_release_window(self, window);
+    FSFH_Release_Window_IMP(self, window);
 
     // Start map on a page boundary.  Ensure that the window is at
     // least wide enough to view all the data spec'd in the original


[lucy-commits] [2/3] git commit: refs/heads/cfish-string-prep1 - Fix memory leak in QueryLexer

Posted by nw...@apache.org.
Fix memory leak in QueryLexer


Project: http://git-wip-us.apache.org/repos/asf/lucy/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/2b462614
Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/2b462614
Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/2b462614

Branch: refs/heads/cfish-string-prep1
Commit: 2b462614b020020fdd1b8ea812e0108d501e5421
Parents: 1865dba
Author: Nick Wellnhofer <we...@aevum.de>
Authored: Mon Sep 9 12:35:07 2013 +0200
Committer: Nick Wellnhofer <we...@aevum.de>
Committed: Mon Sep 9 12:35:07 2013 +0200

----------------------------------------------------------------------
 core/Lucy/Search/QueryParser/QueryLexer.c | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy/blob/2b462614/core/Lucy/Search/QueryParser/QueryLexer.c
----------------------------------------------------------------------
diff --git a/core/Lucy/Search/QueryParser/QueryLexer.c b/core/Lucy/Search/QueryParser/QueryLexer.c
index 1073e98..af07f5f 100644
--- a/core/Lucy/Search/QueryParser/QueryLexer.c
+++ b/core/Lucy/Search/QueryParser/QueryLexer.c
@@ -155,6 +155,7 @@ QueryLexer_Tokenize_IMP(QueryLexer *self, const String *query_string) {
         VA_Push(elems, (Obj*)elem);
     }
 
+    DECREF(iter);
     return elems;
 }
 


[lucy-commits] [3/3] git commit: refs/heads/cfish-string-prep1 - Fix memory leak in Highlighter

Posted by nw...@apache.org.
Fix memory leak in Highlighter


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

Branch: refs/heads/cfish-string-prep1
Commit: b0f30521d919e53ee3ad8ce9c9c3e60987436b2c
Parents: 2b46261
Author: Nick Wellnhofer <we...@aevum.de>
Authored: Mon Sep 9 12:48:25 2013 +0200
Committer: Nick Wellnhofer <we...@aevum.de>
Committed: Mon Sep 9 12:48:25 2013 +0200

----------------------------------------------------------------------
 core/Lucy/Highlight/Highlighter.c | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy/blob/b0f30521/core/Lucy/Highlight/Highlighter.c
----------------------------------------------------------------------
diff --git a/core/Lucy/Highlight/Highlighter.c b/core/Lucy/Highlight/Highlighter.c
index 5a7f13f..637fd81 100644
--- a/core/Lucy/Highlight/Highlighter.c
+++ b/core/Lucy/Highlight/Highlighter.c
@@ -533,6 +533,7 @@ Highlighter_Highlight_Excerpt_IMP(Highlighter *self, VArray *spans,
         CB_Cat(buf, hl_frag);
         DECREF(hl_frag);
         DECREF(encoded);
+        DECREF(to_cat);
     }
 
     // Last text, beyond last highlight span.