Fixed potential font memory issue
commit5541e7c3b6564b80bd74b33ad9877df1f0e7a18e
authorBjorn Winckler <bjorn.winckler@gmail.com>
Mon, 7 Jan 2008 19:28:10 +0000 (7 20:28 +0100)
committerBjorn Winckler <bjorn.winckler@gmail.com>
Mon, 7 Jan 2008 19:28:10 +0000 (7 20:28 +0100)
tree993efb1fa2da3f686606083a655a2ce2482573a6
parent6d4d0856d6511f24f477790fdd51e5ea3aa479ee
Fixed potential font memory issue

The font was not retained when setting gui.norm_font leading to a pointer into
freed memory.  The font instance is now retained before its pointer value is
stored in gui.norm_font.
src/MacVim/gui_macvim.m