diff options
author | Jim Blandy <jimb@redhat.com> | 1993-06-22 03:44:28 +0000 |
---|---|---|
committer | Jim Blandy <jimb@redhat.com> | 1993-06-22 03:44:28 +0000 |
commit | fdce0b3948b9e212a9af63c4c8587fcad44fda30 (patch) | |
tree | b9d9044177b73b79714fbe173ec4344476c39e39 /src/xrdb.c | |
parent | 3e03d7c74e90f74bd0f994059a0173bd12232a08 (diff) | |
download | emacs-fdce0b3948b9e212a9af63c4c8587fcad44fda30.tar.gz |
* xrdb.c (get_user_db): Remember to free the screen-local resource
string after we've merged its data into db.
Diffstat (limited to 'src/xrdb.c')
-rw-r--r-- | src/xrdb.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/xrdb.c b/src/xrdb.c index 6a769e3aa6c..f7825a4a60f 100644 --- a/src/xrdb.c +++ b/src/xrdb.c @@ -319,7 +319,10 @@ get_user_db (display) /* 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 |