Identifying bundles in MacOS X

Brion Vibber brion at pobox.com
Tue Nov 16 18:09:24 EST 2004


Michael Tsai wrote:
> On Nov 16, 2004, at 3:41 AM, Brion Vibber wrote:
>>     LSItemInfoRecord info;
>>     LSCopyItemInfoForURL(url, kLSRequestAllInfo, &info);
> 
> I suggest using kLSRequestAllFlags instead of kLSRequestAllInfo, to 
> avoid leaking the strings in the LSItemInfoRecord.

Whoops, thanks for pointing that out!

-- brion vibber (brion @ pobox.com)



More information about the Python-list mailing list