修正了 del_env() 函数中的一处未判断 key 是否为 NULL 的 bug
move_env() 中末尾处在调用 del_env() 时会使用 del_env(NULL, env, true), 此时 key 为 NULL, 需使用 old_env 中的 name 和 name_lenpull/89/head
parent
b91bd2c7f9
commit
9a3daaa4c6
Loading…
Reference in New Issue