diff options
author | Bram Moolenaar <Bram@vim.org> | 2007-05-05 18:24:42 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2007-05-05 18:24:42 +0000 |
commit | c81e5e79a0f2f5c2ac1896fa51cbe47e2e2a8d97 (patch) | |
tree | 5211ea86daed8e43c3dd25458e808c3d32100097 /src/if_tcl.c | |
parent | 9aae141a6bcfc26bcce352deb8bf34566a3e1be2 (diff) | |
download | vim-git-c81e5e79a0f2f5c2ac1896fa51cbe47e2e2a8d97.tar.gz |
updated for version 7.1a
Diffstat (limited to 'src/if_tcl.c')
-rw-r--r-- | src/if_tcl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/if_tcl.c b/src/if_tcl.c index fe43d23ce..4b089ce5d 100644 --- a/src/if_tcl.c +++ b/src/if_tcl.c @@ -1564,7 +1564,9 @@ tclsetdelcmd(interp, reflist, vimobj, delcmd) if (reflist->interp == interp && reflist->vimobj == vimobj) { if (reflist->delcmd) + { Tcl_DecrRefCount(reflist->delcmd); + } Tcl_IncrRefCount(delcmd); reflist->delcmd = delcmd; return TCL_OK; |