libuv/docs/code
mugitya03 c727be4df9
doc: free lib pointer before function return (#4720)
In function main, the pointer lib allocated at line 7 is passed as an
argument to functions uv_dlopen at line 10, uv_dlerror at lines 11 and
17, and uv_dlsym at line 16, but it is never freed before the function
returns at line 24. This results in a memory leak bug.
2025-03-09 21:47:27 +01:00
..
cgi doc: make sample cross-platform build (#3592) 2022-04-11 09:52:28 +08:00
default-loop doc/guide: update content and sample code (#3408) 2022-01-31 16:52:42 -05:00
detach
dns doc: switch discussion forum to github 2021-06-30 23:26:40 -04:00
helloworld
idle-basic
idle-compute
interfaces doc: make sample cross-platform build (#3592) 2022-04-11 09:52:28 +08:00
locks
multi-echo-server doc: fix the order of arguments to calloc() 2020-05-17 09:22:00 -04:00
onchange
pipe-echo-server doc: use valid pipe name in pipe-echo-server 2017-05-30 12:02:45 -04:00
plugin doc: free lib pointer before function return (#4720) 2025-03-09 21:47:27 +01:00
proc-streams
progress
queue-cancel
queue-work
ref-timer
signal
spawn
tcp-echo-server
thread-create doc: make sample cross-platform build (#3592) 2022-04-11 09:52:28 +08:00
tty doc: fix tty example segfault (#4322) 2024-02-28 12:32:24 +01:00
tty-gravity stream: autodetect direction 2018-09-19 18:19:28 +02:00
udp-dhcp doc: make sample cross-platform build (#3592) 2022-04-11 09:52:28 +08:00
uvcat doc: make sample cross-platform build (#3592) 2022-04-11 09:52:28 +08:00
uvstop
uvtee doc: make sample cross-platform build (#3592) 2022-04-11 09:52:28 +08:00
uvwget
.gitignore doc/guide: update content and sample code (#3408) 2022-01-31 16:52:42 -05:00
CMakeLists.txt doc: make sample cross-platform build (#3592) 2022-04-11 09:52:28 +08:00