[cfe-dev] TargetInfo::CreateTargetInfo() takes owneship by reference

Mehdi AMINI mehdi.amini at silkan.com
Thu Nov 15 20:37:56 PST 2012


>>
>> Does anyone care ? Client code like the one presented here: http://eli.thegreenplace.net/2012/06/08/basic-source-to-source-transformation-with-clang/ result in double-free corruption.
>
> Sorry for the delayed response. You're right that a pointer is better here; fixed in r168136.
>

Thanks !

Mehdi




More information about the cfe-dev mailing list