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)
commit3216e67c5daaf17434319af4d2456c2209b5d39f (patch)
treebdbd21bc5a33e3eabcd50b0dda5556e426365625 /macosx
parent277e4c03ced86ddf627807595297854fac523c9a (diff)
downloadtk-3216e67c5daaf17434319af4d2456c2209b5d39f.zip
tk-3216e67c5daaf17434319af4d2456c2209b5d39f.tar.gz
tk-3216e67c5daaf17434319af4d2456c2209b5d39f.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);
}