projects
/
chise
/
xemacs-chise.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge r21-4-11-chise-0_20-=ucs.
[chise/xemacs-chise.git]
/
netinstall
/
geturl.cc
diff --git
a/netinstall/geturl.cc
b/netinstall/geturl.cc
index
864319f
..
f199c7e
100644
(file)
--- a/
netinstall/geturl.cc
+++ b/
netinstall/geturl.cc
@@
-72,10
+72,10
@@
static DWORD WINAPI
dialog (void *)
{
MSG m;
dialog (void *)
{
MSG m;
- HWND gw_dialog = CreateDialog (hinstance, MAKEINTRESOURCE (IDD_DLSTATUS),
+ HWND lgw_dialog = CreateDialog (hinstance, MAKEINTRESOURCE (IDD_DLSTATUS),
0, dialog_proc);
0, dialog_proc);
- ShowWindow (gw_dialog, SW_SHOWNORMAL);
- UpdateWindow (gw_dialog);
+ ShowWindow (lgw_dialog, SW_SHOWNORMAL);
+ UpdateWindow (lgw_dialog);
while (GetMessage (&m, 0, 0, 0) > 0) {
TranslateMessage (&m);
DispatchMessage (&m);
while (GetMessage (&m, 0, 0, 0) > 0) {
TranslateMessage (&m);
DispatchMessage (&m);
@@
-197,6
+197,10
@@
get_url_to_string (char *_url)
bufs = tmp;
}
*rvp = 0;
bufs = tmp;
}
*rvp = 0;
+
+ if (n)
+ delete n;
+
return rv;
}
return rv;
}
@@
-244,6
+248,9
@@
get_url_to_file (char *_url, char *_filename, int expected_length)
fclose (f);
fclose (f);
+ if (n)
+ delete n;
+
return 0;
}
return 0;
}