mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
main.c: Free msgpack packer in --api-info handler to make ASAN happy
This commit is contained in:
parent
f47a20a266
commit
906271b53d
@ -753,6 +753,7 @@ static void command_line_scan(mparm_T *parmp)
|
||||
putchar(b->data[i]);
|
||||
}
|
||||
|
||||
msgpack_packer_free(p);
|
||||
mch_exit(0);
|
||||
} else if (STRICMP(argv[0] + argv_idx, "headless") == 0) {
|
||||
parmp->headless = true;
|
||||
|
Loading…
Reference in New Issue
Block a user