diff options
author | dgp <dgp@users.sourceforge.net> | 2014-11-06 17:30:39 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2014-11-06 17:30:39 (GMT) |
commit | 889caa2567b47057aa51de594e244e86a5b69bf6 (patch) | |
tree | bdbd21bc5a33e3eabcd50b0dda5556e426365625 /macosx | |
parent | fc77a30223d683708ec4aeadbf6dde442f4f402f (diff) | |
download | tk-889caa2567b47057aa51de594e244e86a5b69bf6.zip tk-889caa2567b47057aa51de594e244e86a5b69bf6.tar.gz tk-889caa2567b47057aa51de594e244e86a5b69bf6.tar.bz2 |
[9d72dcd3bc] Plug memleak
Diffstat (limited to 'macosx')
-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); } |