aboutsummaryrefslogtreecommitdiff
path: root/docs/code/plugin/main.c
Commit message (Collapse)AuthorAge
* doc: free lib pointer before function return (#4720)mugitya032025-03-09
| | | | | | 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.
* doc: add code samples from uvbook (unadapted)Saúl Ibarra Corretgé2017-04-28
PR-URL: https://github.com/libuv/libuv/pull/1246 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>