Author:ptrace Comitter:ptrace Date:2026-05-02 16:24:40 UTC

Fixed smol leak at build search index

diff --git a/src/search/search.jai b/src/search/search.jai index 83647a0..7c0448c 100644 --- a/src/search/search.jai +++ b/src/search/search.jai @@ -70,7 +70,7 @@ build_index :: ($$entries: *[]Entry, ht: *Table(string, []int)) {     defer this_allocation_is_not_a_leak(buf.data);     for doc, i: data {         post_with_title := join(doc.title, doc.post, " ");         post_with_title := join(doc.title, doc.post, " ",, pool_alloc);         sanitized := replace_special_chars_with_space(post_with_title,, pool_alloc);         lower_case := to_lower_copy(sanitized,, pool_alloc);         words := split_by_whitespace(lower_case,, pool_alloc);