Summary of iOS memory problems:
Recently, when doing image filters, there was a memory leak problem. After repeating the filter, there will be a crash. Analyze with Analyze to locate specific lines of code that leak. The following is the specific description:
1. Find the source of the leak:
2. Find the leaked code :
3. Code to solve the leak problem:
Summary: The bottom layer is written in C and must be manually released with CFRelease(), otherwise there will be leakage problems.