Mercurial > emacs
diff src/xrdb.c @ 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 | d9313b9a63ad |
children | f533d585cfc8 |
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