ossc-db / pg_rman

Backup and restore management tool for PostgreSQL
http://ossc-db.github.io/pg_rman/index.html
Other
475 stars 77 forks source link

parray_new() memory leak ! #240

Open Monkey-LaoHan opened 1 year ago

Monkey-LaoHan commented 1 year ago

some function call parray_new() and save return value in local variable. Before the function exits, we need call parray_free() to free the buffer it holds, otherwise, it will cause memory leak.