This commit is contained in:
Steve Checkoway
2005-12-10 08:45:27 +00:00
parent 43066e5cb1
commit 9293fb0f02
@@ -43,7 +43,7 @@ void DarwinMCHelpers::Stop()
[nc removeObserver:g_MCH]; [nc removeObserver:g_MCH];
[g_MCH release]; [g_MCH release];
g_MCH = nil;
[pool release]; [pool release];
} }
@@ -62,7 +62,6 @@ void DarwinMCHelpers::GetRemovableDevicePaths( vector<CString>& vDevicePaths )
NSEnumerator *i = [paths objectEnumerator]; NSEnumerator *i = [paths objectEnumerator];
NSString *path; NSString *path;
vDevicePaths.clear();
while( (path = [i nextObject]) ) while( (path = [i nextObject]) )
vDevicePaths.push_back( [path UTF8String] ); vDevicePaths.push_back( [path UTF8String] );
[pool release]; [pool release];