]> git.eshelyaron.com Git - emacs.git/commit
Backport: 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, 14 Apr 2019 21:59:39 +0000 (15:59 -0600)
commitb3cab4199a46b30539a24fb4d4b53ccdf488253e
tree8acce7bbab946f4f4f44d978ea04959dcadf80ff
parente40f39bec34feeec893fb66625f19cc4663cd217
Backport: 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. Use dupstring over xstrdup as gdk_monitor_get_model may
return NULL.
src/frame.c
src/xfns.c