Mercurial > emacs
diff src/xfns.c @ 17579:8dd146dbe737
Comment change.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 27 Apr 1997 18:02:16 +0000 |
parents | c0f8f4264f7a |
children | 8c878d76d6a4 |
line wrap: on
line diff
--- a/src/xfns.c Sun Apr 27 17:50:39 1997 +0000 +++ b/src/xfns.c Sun Apr 27 18:02:16 1997 +0000 @@ -2720,6 +2720,10 @@ } len = strlen (shell_position) + 1; + /* We don't free this because we don't know whether + it is safe to free it while the frame exists. + It isn't worth the trouble of arranging to free it + when the frame is deleted. */ tem = (char *) xmalloc (len); strncpy (tem, shell_position, len); XtSetArg (al[ac], XtNgeometry, tem); ac++;