Speex leaks on iOS-Collection of common programming errors

I’ve been using Speex for a while now. Lately I discovered my app crashes sometimes during Speex encoding. When trying to discover where the problem comes from I discovered that Speex is leaking always and take huge amount of memory every time I used it.

I call speex_resampler_init it calls speex_resampler_init_frac -> update_filter -> speex_alloc and it leaks. Can easily see that on instruments:

I’m using precompiled Speex(1.2rc1) for iOS from here.

Am I doing something wrong?

Please help.