summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp@users.sourceforge.net <dgp>2014-11-06 17:30:39 (GMT)
committerdgp@users.sourceforge.net <dgp>2014-11-06 17:30:39 (GMT)
commit15a1cdf10cb950eca1f3822bda04f109aada1660 (patch)
treedce86a82437c4a4bbd0605c35d81868088d41f31
parenta3ee6db82285bdc49ec84bfeb06b2fead6d7f1d0 (diff)
downloadtk-15a1cdf10cb950eca1f3822bda04f109aada1660.zip
tk-15a1cdf10cb950eca1f3822bda04f109aada1660.tar.gz
tk-15a1cdf10cb950eca1f3822bda04f109aada1660.tar.bz2
[9d72dcd3bc] Plug memleak
-rw-r--r--macosx/tkMacOSXButton.c2
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);
}