alibaba / alibaba/HandyJSON

UnsafeMutableRawPointer没有释放导致内存泄漏问题

Open
#199 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Swift
Stars
4.3k
Forks
677
PR merge metrics
No merged PRs in 30d

Description

![image](https://user-images.githubusercontent.com/17523689/32884397-2470996e-caf5-11e7-8736-ddb0f9e21da6.png)
如图,需要添加代码,将其释放,instruments-leaks亲测的。还有其他地方也存在内存泄漏,我暂时未找到原因。

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by examining the code location shown in the attached screenshot and reproduce the report with Instruments Leaks. Trace the UnsafeMutableRawPointer allocation and determine where its storage should be released. Done means the reported leak no longer appears; other leaks are outside scope unless their locations can be identified.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
performance
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.