summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorKevin Walzer <kw@codebykevin.com>2019-08-10 16:52:37 (GMT)
committerKevin Walzer <kw@codebykevin.com>2019-08-10 16:52:37 (GMT)
commitdba94e780143122a611e39861db5ced7c8d0f0cd (patch)
tree4c33602e51d8c6ad6100570b897b1a75e840a0b8 /unix
parent1be07b1ba37ee220da5cf2ae5c63267b2e77e9c6 (diff)
parentad45c00441bc4f99294ea11c71f6440dd3978ee9 (diff)
downloadtk-dba94e780143122a611e39861db5ced7c8d0f0cd.zip
tk-dba94e780143122a611e39861db5ced7c8d0f0cd.tar.gz
tk-dba94e780143122a611e39861db5ced7c8d0f0cd.tar.bz2
Merge in core-8-6-branch
Diffstat (limited to 'unix')
-rw-r--r--unix/tkUnixWm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tkUnixWm.c b/unix/tkUnixWm.c
index 9ed9082..7b69713 100644
--- a/unix/tkUnixWm.c
+++ b/unix/tkUnixWm.c
@@ -2444,7 +2444,7 @@ WmIconphotoCmd(
for (i = 3 + isDefault; i < objc; i++) {
photo = Tk_FindPhoto(interp, Tcl_GetString(objv[i]));
if (photo == NULL) {
- Tcl_Free((char *) iconPropertyData);
+ ckfree((char *) iconPropertyData);
return TCL_ERROR;
}
Tk_PhotoGetSize(photo, &width, &height);