Fix memory leak in fontset handling
commit28c58bf739fb5cc528051cfc48770fbfa4e1a319
authorDima Kogan <dima@secretsauce.net>
Tue, 20 Oct 2015 15:12:55 +0000 (20 18:12 +0300)
committerEli Zaretskii <eliz@gnu.org>
Tue, 20 Oct 2015 15:12:55 +0000 (20 18:12 +0300)
tree12f31f472fd0e9460c228bc3594554a206c80c97
parent90e9cf85be9b36cc11ae52af765b8f4236be8833
Fix memory leak in fontset handling

* src/font.c (copy_font_spec): Make a deep copy of the input
argument FONT.  (Bug#21651)
src/font.c