Commit Graph
1 Commits
Author SHA1 Message Date
Zakk 9da57cd173 dev-python/pyrime: fix dangling pointers in RimeTraits
Because the bytes from .encode() were freed right after RimeTraits was
built, librime read freed memory; prebuilt_data_dir and staging_dir
were also left uninitialized. Apply the fix submitted upstream, which
is not merged yet.

Upstream: https://github.com/rimeinn/pyrime/pull/14
Signed-off-by: Zakk <zakk@gentoozh.org>
2026-10-21 12:53:42 +11:00