Mercurial > emacs
changeset 3873:e67c6c10dd7c
* xrdb.c (get_user_db): Remember to free the screen-local resource
string after we've merged its data into db.
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Tue, 22 Jun 1993 03:44:28 +0000 |
parents | 923a207e7967 |
children | 0a694f8e1730 |
files | src/xrdb.c |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xrdb.c Tue Jun 22 03:25:13 1993 +0000 +++ b/src/xrdb.c Tue Jun 22 03:44:28 1993 +0000 @@ -319,7 +319,10 @@ /* Get the screen-specific resources too. */ xdefs = XScreenResourceString (DefaultScreenOfDisplay (display)); if (xdefs != NULL) - XrmMergeDatabases (XrmGetStringDatabase (xdefs), &db); + { + XrmMergeDatabases (XrmGetStringDatabase (xdefs), &db); + XFree (xdefs); + } #endif #endif