libuv/docs/code/plugin
mugitya03 a0f2339011
Free pointer lib before function returns.
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-02-26 19:34:44 -05:00
..
hello.c doc: add code samples from uvbook (unadapted) 2017-04-28 11:16:15 +02:00
main.c Free pointer lib before function returns. 2025-02-26 19:34:44 -05:00
plugin.h doc: add code samples from uvbook (unadapted) 2017-04-28 11:16:15 +02:00