2004-08-02 Lars Clausen * config.h.win32: * doc/pl/dia.xml: * doc/en/dia.xml: * dia.spec (Release): * NEWS: Pre5 with leak fix. * lib/font.c (dia_font_build_layout): Don't try to save an allocation of LayoutCacheItem if it breaks layout cache hash. Also make hash function correct, remove explicit height entry (it's in pfd), and make sure things are correctly unreffed. Finally fixes #148141. * lib/text.c (text_set_attributes, text_set_font): Safely unref when changing font, and actually set the new font in text_set_font(!). (text_get_attributes): Ref copied font.