projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
http://packetstormsecurity.org/UNIX/admin/xscreensaver-4.03.tar.gz
[xscreensaver]
/
driver
/
windows.c
diff --git
a/driver/windows.c
b/driver/windows.c
index d6cb192ebb22c53f12f80baca33953f1cc073452..cbc72d76b698bc8322a2b435f3f521a9f644f824 100644
(file)
--- a/
driver/windows.c
+++ b/
driver/windows.c
@@
-175,7
+175,7
@@
static Bool
grab_keyboard_and_mouse (saver_info *si, Window window, Cursor cursor,
int screen_no)
{
grab_keyboard_and_mouse (saver_info *si, Window window, Cursor cursor,
int screen_no)
{
- Status mstatus
, kstatus
;
+ Status mstatus
= 0, kstatus = 0
;
int i;
int retries = 4;
int i;
int retries = 4;
@@
-758,7
+758,7
@@
saver_exit (saver_info *si, int status, const char *dump_core_reason)
if (bugp)
fprintf(real_stderr,
"%s: see http://www.jwz.org/xscreensaver/bugs.html\n"
if (bugp)
fprintf(real_stderr,
"%s: see http://www.jwz.org/xscreensaver/bugs.html\n"
- "\t\tfor bug reporting information.\n\n",
+ "\t\t
\t
for bug reporting information.\n\n",
blurb());
# if defined(HAVE_GETCWD)
blurb());
# if defined(HAVE_GETCWD)
@@
-884,6
+884,7
@@
store_saver_status (saver_info *si)
XA_SCREENSAVER_STATUS,
XA_INTEGER, 32, PropModeReplace,
(unsigned char *) status, size);
XA_SCREENSAVER_STATUS,
XA_INTEGER, 32, PropModeReplace,
(unsigned char *) status, size);
+ free (status);
}
}