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/tclwinprint.c | |
parent | b111a96ea19bde1004ecea63c7827a1d4b0b73ef (diff) | |
download | gdb-926d71c5c29102926ff1cf87828cad68a79bce56.tar.gz |
libgui import for Tcl/Tk8.3 upgradeLIBGUI_TCL_8_3
Diffstat (limited to 'libgui/src/tclwinprint.c')
-rw-r--r-- | libgui/src/tclwinprint.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libgui/src/tclwinprint.c b/libgui/src/tclwinprint.c index 221cc14bf77..02843493511 100644 --- a/libgui/src/tclwinprint.c +++ b/libgui/src/tclwinprint.c @@ -126,10 +126,10 @@ winprint_command_deleted (ClientData cd) { /* FIXME: I don't know if we are supposed to free the hDevMode and hDevNames fields. */ - Tcl_Free ((char *) wd->page_setup); + ckfree ((char *) wd->page_setup); } - Tcl_Free ((char *) wd); + ckfree ((char *) wd); } /* Implement ide_winprint page_setup. */ @@ -216,7 +216,7 @@ winprint_page_setup_command (ClientData cd, Tcl_Interp *interp, int argc, } if (wd->page_setup == NULL) - wd->page_setup = (PAGESETUPDLG *) Tcl_Alloc (sizeof (PAGESETUPDLG)); + wd->page_setup = (PAGESETUPDLG *) ckalloc (sizeof (PAGESETUPDLG)); *wd->page_setup = psd; @@ -916,7 +916,7 @@ ide_create_winprint_command (Tcl_Interp *interp) { struct winprint_data *wd; - wd = (struct winprint_data *) Tcl_Alloc (sizeof *wd); + wd = (struct winprint_data *) ckalloc (sizeof *wd); wd->page_setup = NULL; wd->aborted = 0; |