]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed typo in show available drives.
authorKevin Ollivier <kevino@theolliviers.com>
Mon, 28 Jun 2004 18:16:49 +0000 (18:16 +0000)
committerKevin Ollivier <kevino@theolliviers.com>
Mon, 28 Jun 2004 18:16:49 +0000 (18:16 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/dirctrlg.cpp

index 32c1cdc6925c864de3df82944b05cac0c8dda6d6..a91cf2608d860cc301eab25c40772d1abff84366 100644 (file)
@@ -242,7 +242,7 @@ size_t wxGetAvailableDrives(wxArrayString &paths, wxArrayString &names, wxArrayI
                 !CFStringGetCString(cfstr, cstr, CFStringGetLength(cfstr) + 1,
                                     kCFStringEncodingMacRoman))
             {
-                CFRelease( cstr );
+                CFRelease( cfstr );
                 continue;
             }
             wxString name( cstr , wxConvLocal );