superfell / zkSforce

Cocoa library for calling the Salesforce.com Web Services API
https://pocketsoap.com/osx/zksforce/
MIT License
76 stars 27 forks source link

Fixed ZKEnvelope leak #33

Closed pilot34 closed 8 years ago

pilot34 commented 8 years ago

Hello. I think there was something strange with env in ZKEnvelope. There was either a leak or a zombie.

superfell commented 8 years ago

Thanks!

superfell commented 8 years ago

BTW, are you using ZKEnvelope in some different way to have run into this?

pilot34 commented 8 years ago

No, only from public methods of ZKSforceClient. I just profiled my app with instruments and found 2 memory leaks by stacktrace: this from zkEnvelope and second from ZKNamespacedName, that you've already fixed earlier.