Fix leak of agraph (#6226)

This commit is contained in:
Rot127 2026-04-14 05:22:10 +00:00 committed by GitHub
parent 8492f42097
commit 02f3ae94d2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2606,7 +2606,7 @@ RZ_IPI RzCmdStatus rz_cmd_heap_chunks_print_handler(RzCore *core, int argc, cons
}
end:
rz_cons_newline();
free(g);
rz_agraph_free(g);
free(top_data);
free(top_title);
rz_list_free(chunks);