]> git.eshelyaron.com Git - emacs.git/commit
Plug memory leak in GTK x-display-monitor-attributes-list
authorAlexander Gramiak <agrambot@gmail.com>
Sun, 7 Apr 2019 05:02:24 +0000 (23:02 -0600)
committerAlexander Gramiak <agrambot@gmail.com>
Sun, 7 Apr 2019 18:49:02 +0000 (12:49 -0600)
commita35e06bbe27c5907f56c5aeb48182d7be00d1dec
tree49206a9771c4b727e8f75449aff8c2f0077f6d4d
parent404a5470cf1b1ae5bd464aaf8fe909b86faa2e61
Plug memory leak in GTK x-display-monitor-attributes-list

* src/frame.c (free_monitors) [USE_GTK]: Define in the GTK case as
  well.

* src/xfns.c (x-display-monitor-attributes-list) [USE_GTK]: Plug
  memory leak.

* src/frame.h (MonitorInfo): Declare name as pointing to const char.
src/frame.c
src/frame.h
src/xfns.c