Repository: godot
Issue: Small memory leak when using `ENetConnection::_broadcast`
Labels: bug,topic:network

### Godot version

4.0.dev.custom_build. 2a28df82d

### System information

Ubuntu 21.04 - Nvidia GTX 970, Gnome shell 3.38 X11

### Issue description

After running fuzzer I got this small memory leak
```
Direct leak of 48 byte(s) in 1 object(s) allocated from:
    #0 0x7fee99356bc8 in malloc (/lib/x86_64-linux-gnu/libasan.so.5+0x10dbc8)
    #1 0x561f1ad43472 in enet_malloc thirdparty/enet/callbacks.c:40
    #2 0x561f1ad14cf9 in enet_packet_create thirdparty/enet/packet.c:22
    #3 0x561f1ac5e90f in ENetConnection::_broadcast(int, Vector<unsigned char>, int) modules/enet/enet_connection.cpp:322
    #4 0x561f1ac87851 in void call_with_variant_args_helper<__UnexistingClass, int, Vector<unsigned char>, int, 0ul, 1ul, 2ul>(__UnexistingClass*, void (__UnexistingClass::*)(int, Vector<unsigned char>, int), Variant const**, Callable::CallError&, IndexSequence<0ul, 1ul, 2ul>) core/variant/binder_common.h:222
    #5 0x561f1ac80047 in void call_with_variant_args_dv<__UnexistingClass, int, Vector<unsigned char>, int>(__UnexistingClass*, void (__UnexistingClass::*)(int, Vector<unsigned char>, int), Variant const**, int, Callable::CallError&, Vector<Variant> const&) (/home/runner/work/Qarminer/Qarminer/godot.linuxbsd.tools.64s+0x35c89047)
    #6 0x561f1ac79ab8 in MethodBindT<int, Vector<unsigned char>, int>::call(Object*, Variant const**, int, Callable::CallError&) core/object/method_bind.h:280
    #7 0x561f2ad1e6bb in Object::call(StringName const&, Variant const**, int, Callable::CallError&) core/object/object.cpp:832
    #8 0x561f2ad1c84b in Object::callv(StringName const&, Array const&) core/object/object.cpp:753
    #9 0x561f2ad800ae in void call_with_variant_args_ret_helper<__UnexistingClass, Variant, StringName const&, Array const&, 0ul, 1ul>(__UnexistingClass*, Variant (__UnexistingClass::*)(StringName const&, Array const&), Variant const**, Variant&, Callable::CallError&, IndexSequence<0ul, 1ul>) core/variant/binder_common.h:640
    #10 0x561f2ad79b3a in void call_with_variant_args_ret_dv<__UnexistingClass, Variant, StringName const&, Array const&>(__UnexistingClass*, Variant (__UnexistingClass::*)(StringName const&, Array const&), Variant const**, int, Variant&, Callable::CallError&, Vector<Variant> const&) core/variant/binder_common.h:453
    #11 0x561f2ad737d4 in MethodBindTR<Variant, StringName const&, Array const&>::call(Object*, Variant const**, int, Callable::CallError&) core/object/method_bind.h:441
    #12 0x561f1a542dbf in GDScriptFunction::call(GDScriptInstance*, Variant const**, int, Callable::CallError&, GDScriptFunction::CallState*) modules/gdscript/gdscript_vm.cpp:1595
    #13 0x561f1a01a27d in GDScriptInstance::call(StringName const&, Variant const**, int, Callable::CallError&) modules/gdscript/gdscript.cpp:1501
    #14 0x561f2ad1e2c8 in Object::call(StringName const&, Variant const**, int, Callable::CallError&) core/object/object.cpp:811
    #15 0x561f2a47e65d in Variant::call(StringName const&, Variant const**, int, Variant&, Callable::CallError&) core/variant/variant_call.cpp:1017
    #16 0x561f1a540906 in GDScriptFunction::call(GDScriptInstance*, Variant const**, int, Callable::CallError&, GDScriptFunction::CallState*) modules/gdscript/gdscript_vm.cpp:1506
    #17 0x561f1a01a27d in GDScriptInstance::call(StringName const&, Variant const**, int, Callable::CallError&) modules/gdscript/gdscript.cpp:1501
    #18 0x561f220ec525 in Node::_gdvirtual__process_call(double) scene/main/node.h:232
    #19 0x561f220634ba in Node::_notification(int) scene/main/node.cpp:54
    #20 0x561f15bc1d5b in Node::_notificationv(int, bool) scene/main/node.h:48
    #21 0x561f2ad1eacd in Object::notification(int, bool) core/object/object.cpp:841
    #22 0x561f2219633f in SceneTree::_notify_group_pause(StringName const&, int) scene/main/scene_tree.cpp:855
    #23 0x561f221886bf in SceneTree::process(double) scene/main/scene_tree.cpp:453
    #24 0x561f15168c60 in Main::iteration() main/main.cpp:2570
    #25 0x561f150025af in OS_LinuxBSD::run() platform/linuxbsd/os_linuxbsd.cpp:342
    #26 0x561f14ff0856 in main platform/linuxbsd/godot_linuxbsd.cpp:58
    #27 0x7fee984140b2 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x270b2)

Indirect leak of 5 byte(s) in 1 object(s) allocated from:
    #0 0x7fee99356bc8 in malloc (/lib/x86_64-linux-gnu/libasan.so.5+0x10dbc8)
    #1 0x561f1ad43472 in enet_malloc thirdparty/enet/callbacks.c:40
    #2 0x561f1ad14e23 in enet_packet_create thirdparty/enet/packet.c:33
    #3 0x561f1ac5e90f in ENetConnection::_broadcast(int, Vector<unsigned char>, int) modules/enet/enet_connection.cpp:322
    #4 0x561f1ac87851 in void call_with_variant_args_helper<__UnexistingClass, int, Vector<unsigned char>, int, 0ul, 1ul, 2ul>(__UnexistingClass*, void (__UnexistingClass::*)(int, Vector<unsigned char>, int), Variant const**, Callable::CallError&, IndexSequence<0ul, 1ul, 2ul>) core/variant/binder_common.h:222
    #5 0x561f1ac80047 in void call_with_variant_args_dv<__UnexistingClass, int, Vector<unsigned char>, int>(__UnexistingClass*, void (__UnexistingClass::*)(int, Vector<unsigned char>, int), Variant const**, int, Callable::CallError&, Vector<Variant> const&) (/home/runner/work/Qarminer/Qarminer/godot.linuxbsd.tools.64s+0x35c89047)
    #6 0x561f1ac79ab8 in MethodBindT<int, Vector<unsigned char>, int>::call(Object*, Variant const**, int, Callable::CallError&) core/object/method_bind.h:280
    #7 0x561f2ad1e6bb in Object::call(StringName const&, Variant const**, int, Callable::CallError&) core/object/object.cpp:832
    #8 0x561f2ad1c84b in Object::callv(StringName const&, Array const&) core/object/object.cpp:753
    #9 0x561f2ad800ae in void call_with_variant_args_ret_helper<__UnexistingClass, Variant, StringName const&, Array const&, 0ul, 1ul>(__UnexistingClass*, Variant (__UnexistingClass::*)(StringName const&, Array const&), Variant const**, Variant&, Callable::CallError&, IndexSequence<0ul, 1ul>) core/variant/binder_common.h:640
    #10 0x561f2ad79b3a in void call_with_variant_args_ret_dv<__UnexistingClass, Variant, StringName const&, Array const&>(__UnexistingClass*, Variant (__UnexistingClass::*)(StringName const&, Array const&), Variant const**, int, Variant&, Callable::CallError&, Vector<Variant> const&) core/variant/binder_common.h:453
    #11 0x561f2ad737d4 in MethodBindTR<Variant, StringName const&, Array const&>::call(Object*, Variant const**, int, Callable::CallError&) core/object/method_bind.h:441
    #12 0x561f1a542dbf in GDScriptFunction::call(GDScriptInstance*, Variant const**, int, Callable::CallError&, GDScriptFunction::CallState*) modules/gdscript/gdscript_vm.cpp:1595
    #13 0x561f1a01a27d in GDScriptInstance::call(StringName const&, Variant const**, int, Callable::CallError&) modules/gdscript/gdscript.cpp:1501
    #14 0x561f2ad1e2c8 in Object::call(StringName const&, Variant const**, int, Callable::CallError&) core/object/object.cpp:811
    #15 0x561f2a47e65d in Variant::call(StringName const&, Variant const**, int, Variant&, Callable::CallError&) core/variant/variant_call.cpp:1017
    #16 0x561f1a540906 in GDScriptFunction::call(GDScriptInstance*, Variant const**, int, Callable::CallError&, GDScriptFunction::CallState*) modules/gdscript/gdscript_vm.cpp:1506
    #17 0x561f1a01a27d in GDScriptInstance::call(StringName const&, Variant const**, int, Callable::CallError&) modules/gdscript/gdscript.cpp:1501
    #18 0x561f220ec525 in Node::_gdvirtual__process_call(double) scene/main/node.h:232
    #19 0x561f220634ba in Node::_notification(int) scene/main/node.cpp:54
    #20 0x561f15bc1d5b in Node::_notificationv(int, bool) scene/main/node.h:48
    #21 0x561f2ad1eacd in Object::notification(int, bool) core/object/object.cpp:841
    #22 0x561f2219633f in SceneTree::_notify_group_pause(StringName const&, int) scene/main/scene_tree.cpp:855
    #23 0x561f221886bf in SceneTree::process(double) scene/main/scene_tree.cpp:453
    #24 0x561f15168c60 in Main::iteration() main/main.cpp:2570
    #25 0x561f150025af in OS_LinuxBSD::run() platform/linuxbsd/os_linuxbsd.cpp:342
    #26 0x561f14ff0856 in main platform/linuxbsd/godot_linuxbsd.cpp:58
    #27 0x7fee984140b2 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x270b2)
```
I can't create for now minimal project, but maybe this is enough to find cause of memory leak

Memory which leaks is created here
https://github.com/godotengine/godot/blob/a7363f3dfd32ecff77d4d6937be9f232bfc699c7/modules/enet/enet_connection.cpp#L322

### Steps to reproduce

Not sure

### Minimal reproduction project

_No response_