Chris Robinson : quartz: Use proper alloc/free functions for COM objects.