View Issue Details

IDProjectCategoryView StatusLast Update
0029971RunnerFunctionsPublic2018-10-29 09:58
ReporterStewart BishopAssigned ToRussell Kay 
PriorityLowSeverityC - GeneralReproducibility100%
Status ClosedResolutionFixed 
Product Version2.1.5 
Target Version2.2.1Fixed in Version2.2.1 
Summary0029971: Functions: Using json_decode() with an array as the top level structure causes a memory leak
DescriptionIf you use json_decode on an array which contains a json then this will leak memory. Iif you don't have an array as your top level structure, then no leak happens.
Steps To Reproduce1) Run the sample
2) Press Space to restart the game
3) See that memory leaks
4) Comment out the top region in the objects create event
5) Uncomment the bottom region
6) Run the sample again
7) Press space to restart the game
8) See no memory leak happens
TagsNo tags attached.
1.4 Found In
2.x Runtime Found In2.1.5.246
2.x Runtime Verified In2.2.1.268

Activities

Stewart Bishop

2018-08-24 12:40

Adminstrator  

memory_leak_json.7z (6,741 bytes)

Russell Kay

2018-08-24 21:27

Manager   ~0061377

Fixed in gitlab