Skip to content

Commit e549f09

Browse files
committed
Fix memory leak in tcl/tk 9 update due to misspelled define.
1 parent 5814ae2 commit e549f09

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/emc/usr_intf/axis/extensions

src/emc/usr_intf/axis/extensions/togl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1070,7 +1070,7 @@ int Togl_Configure(Tcl_Interp *interp, struct Togl *togl,
10701070
argc, (void *)optr, (char *)togl, flags) == TCL_ERROR) {
10711071
return(TCL_ERROR);
10721072
}
1073-
#if TK_VERSION_MAJOR >= 9
1073+
#if TK_MAJOR_VERSION >= 9
10741074
for(int u = 0; u < argc; u++) {
10751075
Tcl_DecrRefCount(optr[u]);
10761076
}

0 commit comments

Comments
 (0)