Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: kinosearch: commits

r3682 - trunk/c_src/KinoSearch/Highlight

 

 

kinosearch commits RSS feed   Index | Next | Previous | View Threaded


marvin at rectangular

Jul 30, 2008, 7:14 PM

Post #1 of 1 (519 views)
Permalink
r3682 - trunk/c_src/KinoSearch/Highlight

Author: creamyg
Date: 2008-07-30 19:14:42 -0700 (Wed, 30 Jul 2008)
New Revision: 3682

Modified:
trunk/c_src/KinoSearch/Highlight/Highlighter.bp
trunk/c_src/KinoSearch/Highlight/Highlighter.c
Log:
Fix a couple refcounting errors in Highlighter.


Modified: trunk/c_src/KinoSearch/Highlight/Highlighter.bp
===================================================================
--- trunk/c_src/KinoSearch/Highlight/Highlighter.bp 2008-07-30 21:14:52 UTC (rev 3681)
+++ trunk/c_src/KinoSearch/Highlight/Highlighter.bp 2008-07-31 02:14:42 UTC (rev 3682)
@@ -20,7 +20,7 @@
init(Highlighter *self, Searchable *searchable, Obj *query,
const CharBuf *field, u32_t excerpt_length = 200);

- CharBuf*
+ public incremented CharBuf*
Create_Excerpt(Highlighter *self, HitDoc *hit_doc);

incremented CharBuf*

Modified: trunk/c_src/KinoSearch/Highlight/Highlighter.c
===================================================================
--- trunk/c_src/KinoSearch/Highlight/Highlighter.c 2008-07-30 21:14:52 UTC (rev 3681)
+++ trunk/c_src/KinoSearch/Highlight/Highlighter.c 2008-07-31 02:14:42 UTC (rev 3682)
@@ -100,6 +100,7 @@
REFCOUNT_DEC(score_spans);
REFCOUNT_DEC(heat_map);
REFCOUNT_DEC(raw_excerpt);
+ REFCOUNT_DEC(edges);

return highlighted;
}


_______________________________________________
kinosearch-commits mailing list
kinosearch-commits [at] rectangular
http://www.rectangular.com/mailman/listinfo/kinosearch-commits

kinosearch commits RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.