summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2014-11-06 17:30:39 (GMT)
committerdgp <dgp@users.sourceforge.net>2014-11-06 17:30:39 (GMT)
commit889caa2567b47057aa51de594e244e86a5b69bf6 (patch)
treebdbd21bc5a33e3eabcd50b0dda5556e426365625 /macosx
parentfc77a30223d683708ec4aeadbf6dde442f4f402f (diff)
downloadtk-889caa2567b47057aa51de594e244e86a5b69bf6.zip
tk-889caa2567b47057aa51de594e244e86a5b69bf6.tar.gz
tk-889caa2567b47057aa51de594e244e86a5b69bf6.tar.bz2
[9d72dcd3bc] Plug memleak
Diffstat (limited to 'macosx')
-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);
}