diff options
author | dgp@users.sourceforge.net <dgp> | 2014-11-06 17:30:39 (GMT) |
---|---|---|
committer | dgp@users.sourceforge.net <dgp> | 2014-11-06 17:30:39 (GMT) |
commit | 15a1cdf10cb950eca1f3822bda04f109aada1660 (patch) | |
tree | dce86a82437c4a4bbd0605c35d81868088d41f31 | |
parent | a3ee6db82285bdc49ec84bfeb06b2fead6d7f1d0 (diff) | |
download | tk-15a1cdf10cb950eca1f3822bda04f109aada1660.zip tk-15a1cdf10cb950eca1f3822bda04f109aada1660.tar.gz tk-15a1cdf10cb950eca1f3822bda04f109aada1660.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); } |