So, I was testing with the leak tool and noticed that multiple objects are leaking at the very beginning during initialization. However, none of them are my objects that I have created.
I am just curious if this is common for the iphone sim and other developers.
Here is a list of what I have found:
-Malloc 208 Bytes: 0x3c83b80, 0x3c83a30, 0x3c838d0 - Source: AudioToolbox: RegisterEmbeddedAudioCodecs()
-Malloc 176 Bytes, 0x6868e30 - Source: AudioToolbox: RegisterEmbeddedAudioCodecs()
-Malloc 128 Bytes, 0x3c7f7b0 - Source: AudioToolbox: RegisterEmbeddedAudioCodecs()
-Malloc 224 Bytes, 0x3c7c330 - Source: AudioToolbox: RegisterEmbeddedAudioCodecs()
-Malloc 208 Bytes, 0x3c7c1e0 - Source: AudioToolbox: RegisterEmbeddedAudioCodecs()
-Malloc 48 Bytes, 0x685d790 - Source: AudioToolbox: SimAggregateDevice::CreateAggregateDevice
-Malloc 32 Bytes, 0x685d770 - Source: AudioToolbox: CreateDictionaryForDevice(unsigned long)
-Malloc 32 Bytes, 0x685d750 - Source: AudioToolbox: CreateDictionaryForDevice(unsigned long)
NSCFDictionary 64bytes, 0x685d710: -Malloc 32 Bytes, 0x685d770 - Source: AudioToolbox: CreateDictionaryForDevice(unsigned long)
--- it just goes on a little further for the audio toolbox with more createdictionaryfordevice and SimAggregateDevice.
Then it gets to:
Malloc 128 Bytes, 0x68360f0 - Source: CoreGraphics: open_handle_to_dylib_path
Malloc 128 Bytes, 0x6809b70 - Source: libGFXShared.dylib: gfxPluginConnectAll
Malloc 128 Bytes, 0x6809b20 - Source: OpenGLES: eagl_init_once
Is this normal for the simulator? I find it a little odd if no one else has noticed this, because each one of these has to do with a standard iPhone library like AudioToolBox, CoreGraphics, libGFXShared.dylib, and OpenGLES.
Tested with the latest XCode and 3.1.2 iPhone Simulator in Debug Mode.