mirror of
https://github.com/godotengine/godot.git
synced 2024-11-23 12:43:43 +00:00
767bfec8b6
I've change the urls variable to be a local, instead of manually allocating it all the time. This is only used locally and was causing a memory leak because FreeUPNPUrls gave the impression it free it. 1. FreeUPNPUrls doesn't free the pointer passed in, that's up to caller. 2. The second if(!urls) produced dead code as we checked the pointer just after allocation. |
||
---|---|---|
.. | ||
doc_classes | ||
config.py | ||
register_types.cpp | ||
register_types.h | ||
SCsub | ||
upnp_device.cpp | ||
upnp_device.h | ||
upnp.cpp | ||
upnp.h |