diff options
author | Ian Roxborough <irox@redhat.com> | 2001-09-08 21:55:17 +0000 |
---|---|---|
committer | Ian Roxborough <irox@redhat.com> | 2001-09-08 21:55:17 +0000 |
commit | 926d71c5c29102926ff1cf87828cad68a79bce56 (patch) | |
tree | 5db22f4f17ca5f8c78ab7fffe45a79a617c3f666 /libgui/src/tclwinpath.c | |
parent | b111a96ea19bde1004ecea63c7827a1d4b0b73ef (diff) | |
download | gdb-LIBGUI_TCL_8_3.tar.gz |
libgui import for Tcl/Tk8.3 upgradeLIBGUI_TCL_8_3
Diffstat (limited to 'libgui/src/tclwinpath.c')
-rw-r--r-- | libgui/src/tclwinpath.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libgui/src/tclwinpath.c b/libgui/src/tclwinpath.c index 2f9d5bdb612..ce75ab0dd7f 100644 --- a/libgui/src/tclwinpath.c +++ b/libgui/src/tclwinpath.c @@ -133,7 +133,7 @@ path_posix_to_win32_path_list (ClientData cd, Tcl_Interp *interp, int argc, char *buf; size = cygwin32_posix_to_win32_path_list_buf_size (argv[2]); - buf = Tcl_Alloc (size); + buf = ckalloc (size); cygwin32_posix_to_win32_path_list (argv[2], buf); Tcl_SetResult (interp, buf, TCL_DYNAMIC); return TCL_OK; @@ -149,7 +149,7 @@ path_win32_to_posix_path_list (ClientData cd, Tcl_Interp *interp, int argc, char *buf; size = cygwin32_win32_to_posix_path_list_buf_size (argv[2]); - buf = Tcl_Alloc (size); + buf = ckalloc (size); cygwin32_win32_to_posix_path_list (argv[2], buf); Tcl_SetResult (interp, buf, TCL_DYNAMIC); return TCL_OK; |