• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Why have memory leaks on this? please help me.

Status
Not open for further replies.
Level 6
Joined
Mar 28, 2018
Messages
128
upload_2018-6-23_19-22-43.png
 

Jampion

Code Reviewer
Level 15
Joined
Mar 25, 2016
Messages
1,327
The underlying jass code of the "Item carried by unit of type"-function does not null a local variable, so there is a minor leak.
 
Status
Not open for further replies.
Top