main.c: Free msgpack packer in --api-info handler to make ASAN happy

This commit is contained in:
Thiago de Arruda 2016-04-10 10:50:59 -03:00
parent f47a20a266
commit 906271b53d

View File

@ -753,6 +753,7 @@ static void command_line_scan(mparm_T *parmp)
putchar(b->data[i]); putchar(b->data[i]);
} }
msgpack_packer_free(p);
mch_exit(0); mch_exit(0);
} else if (STRICMP(argv[0] + argv_idx, "headless") == 0) { } else if (STRICMP(argv[0] + argv_idx, "headless") == 0) {
parmp->headless = true; parmp->headless = true;