[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/w32.c,v [EMACS_22_BASE]
From: |
Jason Rumney |
Subject: |
[Emacs-diffs] Changes to emacs/src/w32.c,v [EMACS_22_BASE] |
Date: |
Sat, 29 Sep 2007 21:33:24 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Branch: EMACS_22_BASE
Changes by: Jason Rumney <jasonr> 07/09/29 21:33:23
Index: w32.c
===================================================================
RCS file: /sources/emacs/emacs/src/w32.c,v
retrieving revision 1.111.2.2
retrieving revision 1.111.2.3
diff -u -b -r1.111.2.2 -r1.111.2.3
--- w32.c 25 Jul 2007 05:15:28 -0000 1.111.2.2
+++ w32.c 29 Sep 2007 21:33:23 -0000 1.111.2.3
@@ -890,6 +890,7 @@
&& (lpvalue = (LPBYTE) xmalloc (cbData)) != NULL
&& RegQueryValueEx (hrootkey, key, NULL, lpdwtype, lpvalue, &cbData)
== ERROR_SUCCESS)
{
+ RegCloseKey (hrootkey);
return (lpvalue);
}
@@ -906,6 +907,7 @@
&& (lpvalue = (LPBYTE) xmalloc (cbData)) != NULL
&& RegQueryValueEx (hrootkey, key, NULL, lpdwtype, lpvalue, &cbData)
== ERROR_SUCCESS)
{
+ RegCloseKey (hrootkey);
return (lpvalue);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/src/w32.c,v [EMACS_22_BASE],
Jason Rumney <=