I just sent a patch to xemacs-patches to fix a Dynarr leak in redisplay.
Here's another one, but I'm not sure what to do with it. This leak
affects both 21.4 and 21.5. In redisplay.c, look at the macro
ADD_NEXT_OCTAL_RUNE_CHAR. Note that, if prop is NULL, it is set to a
freshly created Dynarr by this macro. The macro is used in the function
add_octal_runes, which is just below it. At the end of that function,
nothing is done with prop. It is not returned and, more to the point,
it is not freed. It looks like the callers of add_octal_runes expected
prop to be returned to them. However, I don't understand this code at
all, so I'm afraid to touch it. Does anybody know what's going on here?
--
Jerry James, Assistant Professor james(a)xemacs.org
Computer Science Department
http://www.cs.usu.edu/~jerry/
Utah State University