diff options
author | dgp <dgp@users.sourceforge.net> | 2014-11-06 17:31:05 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2014-11-06 17:31:05 (GMT) |
commit | e9a973965aa9116a2a2b967dededa3094b174255 (patch) | |
tree | b6af4c983608e6aacbd8ef94191c516e429820cd /macosx/tkMacOSXButton.c | |
parent | 56e5cece3f50562969449e4357e5dc1cf3907c1a (diff) | |
parent | 3216e67c5daaf17434319af4d2456c2209b5d39f (diff) | |
download | tk-e9a973965aa9116a2a2b967dededa3094b174255.zip tk-e9a973965aa9116a2a2b967dededa3094b174255.tar.gz tk-e9a973965aa9116a2a2b967dededa3094b174255.tar.bz2 |
[9d72dcd3bc] Plug memleak
Diffstat (limited to 'macosx/tkMacOSXButton.c')
-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 adbdda0..d4aae8d 100644 --- a/macosx/tkMacOSXButton.c +++ b/macosx/tkMacOSXButton.c @@ -197,7 +197,7 @@ TkpDestroyButton( [macButtonPtr->button setTag:(NSInteger)-1]; TkMacOSXMakeCollectableAndRelease(macButtonPtr->button); - TkMacOSXMakeCollectableAndRelease(macButtonPtr->selectImage); + TkMacOSXMakeCollectableAndRelease(macButtonPtr->image); TkMacOSXMakeCollectableAndRelease(macButtonPtr->selectImage); TkMacOSXMakeCollectableAndRelease(macButtonPtr->tristateImage); } |