radixtree: Fix SIGSEGV at update of embeddable value to non-embeddable.

Masahiko Sawada <msawada@postgresql.org>

Commit: bb7f195ff78851e5fcee7230108a16d70be13579
Author: Masahiko Sawada <msawada@postgresql.org>
Date: 2024-04-25T12:48:52Z
Releases: 17.0
radixtree: Fix SIGSEGV at update of embeddable value to non-embeddable.

Also, fix a memory leak when updating from non-embeddable to
embeddable. Both were unreachable without adding C code.

Reported-by: Noah Misch
Author: Noah Misch
Reviewed-by: Masahiko Sawada, John Naylor
Discussion: https://postgr.es/m/20240424210319.4c.nmisch%40google.com

Files

Discussion