summaryrefslogtreecommitdiffstats
path: root/unix/tclLoadDl.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2018-10-08 19:00:39 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2018-10-08 19:00:39 (GMT)
commit1812305cb35d0096d50f9b1e7c1c368f230b6f07 (patch)
tree29a9a607c030b3cfa6c0ae744822eb76de21ee86 /unix/tclLoadDl.c
parentfe34611d8ec24bd6dd816cf00fa8ac15355bde79 (diff)
parent99e9ce3656f195c60ba4e928559c05d47167901c (diff)
downloadtcl-1812305cb35d0096d50f9b1e7c1c368f230b6f07.zip
tcl-1812305cb35d0096d50f9b1e7c1c368f230b6f07.tar.gz
tcl-1812305cb35d0096d50f9b1e7c1c368f230b6f07.tar.bz2
TIP #494 implementation: More use of size_t in Tcl 9
Diffstat (limited to 'unix/tclLoadDl.c')
-rw-r--r--unix/tclLoadDl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tclLoadDl.c b/unix/tclLoadDl.c
index aec071c..88854da 100644
--- a/unix/tclLoadDl.c
+++ b/unix/tclLoadDl.c
@@ -131,7 +131,7 @@ TclpDlopen(
}
return TCL_ERROR;
}
- newHandle = ckalloc(sizeof(*newHandle));
+ newHandle = Tcl_Alloc(sizeof(*newHandle));
newHandle->clientData = handle;
newHandle->findSymbolProcPtr = &FindSymbol;
newHandle->unloadFileProcPtr = &UnloadFile;
@@ -232,7 +232,7 @@ UnloadFile(
void *handle = loadHandle->clientData;
dlclose(handle);
- ckfree(loadHandle);
+ Tcl_Free(loadHandle);
}
/*