annotate src/testdir/gui_preinit.vim @ 33940:f60c0fe7cae4 v9.0.2166

patch 9.0.2166: Memory leak in Configure Script when checking GTK Commit: https://github.com/vim/vim/commit/549f8c0b4ebe47168c98f46c8b62b1eb33da7c9c Author: Zdenek Dohnal <zdohnal@redhat.com> Date: Thu Dec 14 20:22:49 2023 +0100 patch 9.0.2166: Memory leak in Configure Script when checking GTK Problem: Memory leak in Configure Script when checking GTK Solution: Free the allocated memory If the memory is not freed, GTK GUI VIM cannot be build with address sanitizer for debugging purposes - configure script will report missing GTK, because the testing file compilation fails due reported memory leak. closes: #13672 Signed-off-by: Zdenek Dohnal <zdohnal@redhat.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Thu, 14 Dec 2023 20:30:05 +0100
parents d8a550329a97
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11119
d8a550329a97 patch 8.0.0447: getting font name does not work on X11
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
1 " vimrc for test_gui_init.vim
d8a550329a97 patch 8.0.0447: getting font name does not work on X11
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
2
d8a550329a97 patch 8.0.0447: getting font name does not work on X11
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
3 " Note that this flag must be added in the .vimrc file, before switching on
d8a550329a97 patch 8.0.0447: getting font name does not work on X11
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
4 " syntax or filetype recognition (when the |gvimrc| file is sourced the system
d8a550329a97 patch 8.0.0447: getting font name does not work on X11
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
5 " menu has already been loaded; the ":syntax on" and ":filetype on" commands
d8a550329a97 patch 8.0.0447: getting font name does not work on X11
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
6 " load the menu too).
d8a550329a97 patch 8.0.0447: getting font name does not work on X11
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
7 set guioptions+=M