diff options
author | dgp <dgp@users.sourceforge.net> | 2014-11-06 17:30:39 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2014-11-06 17:30:39 (GMT) |
commit | 3216e67c5daaf17434319af4d2456c2209b5d39f (patch) | |
tree | bdbd21bc5a33e3eabcd50b0dda5556e426365625 | |
parent | 277e4c03ced86ddf627807595297854fac523c9a (diff) | |
download | tk-3216e67c5daaf17434319af4d2456c2209b5d39f.zip tk-3216e67c5daaf17434319af4d2456c2209b5d39f.tar.gz tk-3216e67c5daaf17434319af4d2456c2209b5d39f.tar.bz2 |
[9d72dcd3bc] Plug memleak
-rw-r--r-- | macosx/tkMacOSXButton.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/tkMacOSXButton.c b/macosx/tkMacOSXButton.c index 41436df..b9ee7a3 100644 --- a/macosx/tkMacOSXButton.c +++ b/macosx/tkMacOSXButton.c @@ -198,7 +198,7 @@ TkpDestroyButton( [macButtonPtr->button setTag:(NSInteger)-1]; TkMacOSXMakeCollectableAndRelease(macButtonPtr->button); - TkMacOSXMakeCollectableAndRelease(macButtonPtr->selectImage); + TkMacOSXMakeCollectableAndRelease(macButtonPtr->image); TkMacOSXMakeCollectableAndRelease(macButtonPtr->selectImage); TkMacOSXMakeCollectableAndRelease(macButtonPtr->tristateImage); } |