aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa/PlatCocoa.mm
diff options
context:
space:
mode:
Diffstat (limited to 'cocoa/PlatCocoa.mm')
-rw-r--r--cocoa/PlatCocoa.mm1
1 files changed, 1 insertions, 0 deletions
diff --git a/cocoa/PlatCocoa.mm b/cocoa/PlatCocoa.mm
index 5776818ad..60eac53dc 100644
--- a/cocoa/PlatCocoa.mm
+++ b/cocoa/PlatCocoa.mm
@@ -1719,6 +1719,7 @@ int ListBoxImpl::CaretFromEdge()
void ListBoxImpl::ReleaseViews()
{
+ [table setDataSource:nil];
[table release];
table = nil;
[scroller release];