Identifying bundles in MacOS X

Michael Tsai lists at mjtsai.com
Tue Nov 16 21:36:09 CET 2004


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.

--Michael




More information about the Python-list mailing list