wreckyCZ / doubango

Automatically exported from code.google.com/p/doubango
0 stars 0 forks source link

Invalid release of [NSFileManager defaultManager] #284

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
File: NgnStorageService.mm
Method: +(BOOL) databaseCheckAndCopy:(NgnBaseService<INgnStorageService>*) 
service

A NSFileManager * is obtained using [NSFileManager defaultManager]. Later on, 
it will be released - which is wrong. There are some earlier returns where 
release is not called and that is ok.

Please remove the 2 release calls

Original issue reported on code.google.com by bmata...@gmail.com on 19 Jun 2013 at 7:47

GoogleCodeExporter commented 8 years ago
Fixed: https://code.google.com/p/idoubs/source/detail?r=244
Thanks

Original comment by boss...@yahoo.fr on 19 Jun 2013 at 8:55