Differences From Artifact [13509724e6]:
- File render/compose.t — part of check-in [d4ecea913f] at 2020-12-31 00:15:53 on branch trunk — add lots more shit (user: lexi, size: 804) [annotate] [blame] [check-ins using]
To Artifact [95dc7dcbc1]:
- File render/compose.t — part of check-in [7c8769bf96] at 2021-01-10 08:19:56 on branch trunk — begin replacing inefficient memory management with a pool-based solution; fix memory leaks (user: lexi, size: 821) [annotate] [blame] [check-ins using]
14 14 form.content = lib.coalesce(edit.body, '') 15 15 form.acl = edit.acl 16 16 end 17 17 if acc ~= nil then form:append(acc) return end 18 18 19 - var cotxt = form:tostr() defer cotxt:free() 19 + var cotxt = form:poolstr(&co.srv.pool) -- defer cotxt:free() 20 20 21 21 var doc = [lib.srv.convo.page] { 22 22 title = lib.str.plit 'compose'; 23 23 body = cotxt; 24 24 class = lib.str.plit 'compose';