summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Antipov <dmantipov@yandex.ru>2014-01-28 11:43:24 +0400
committerDmitry Antipov <dmantipov@yandex.ru>2014-01-28 11:43:24 +0400
commit2275de871d28dc3814caffb9779559c4ef79f58f (patch)
treebd0355993f7e56bca2bd835b81be9e48c4165fa3
parenta91289312d627e67ae5cce9b9efb5baf5f819376 (diff)
downloademacs-2275de871d28dc3814caffb9779559c4ef79f58f.tar.gz
* xfaces.c (free_frame_faces): Adjust comment.
-rw-r--r--src/ChangeLog1
-rw-r--r--src/xfaces.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index fc4ad207993..ff3be1d7666 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -4,6 +4,7 @@
(init_initial_terminal): Install new hook to free face cache
on initial frame and avoid memory leak. For details, see
<http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01974.html>.
+ * xfaces.c (free_frame_faces): Adjust comment.
2014-01-26 Paul Eggert <eggert@cs.ucla.edu>
diff --git a/src/xfaces.c b/src/xfaces.c
index 4321eb3dd8c..f2d777a12b1 100644
--- a/src/xfaces.c
+++ b/src/xfaces.c
@@ -694,7 +694,8 @@ init_frame_faces (struct frame *f)
}
-/* Free face cache of frame F. Called from delete_frame. */
+/* Free face cache of frame F. Called from frame-dependent
+ resource freeing function, e.g. (x|tty)_free_frame_resources. */
void
free_frame_faces (struct frame *f)