fix vp_func_3pi error malloc size

Signed-off-by: xiehuc <xiehuc@gmail.com>