Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…sing panel at completion, resulting in a delegate hanging around and getting events if last folder view changed. Delegate would then try to use garbage on stack. Not so good.

git-svn-id: svn+ssh://corpsvnproxy/yahoo/BrowserPlus/public_platform/trunk@119 3fcf768e-b076-0410-b9b8-e8c34e2d470b
  • Loading branch information
Gordon Durand committed Jan 26, 2010
1 parent 4a4fdf6 commit 09151e0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/plugins/common/Pluglets/FileBrowsePlugletImpl_Darwin.mm
Expand Up @@ -220,7 +220,8 @@ - (BOOL) panel: (id)sender shouldShowFilename: (NSString*)filename
selection.push_back([[url path] UTF8String]);
}
}

[panel release];

bp::Object* obj = NULL;
if (m_desc.majorVersion() == 1) {
// version 1 api applies filtering, recursion, etc...
Expand Down

0 comments on commit 09151e0

Please sign in to comment.