若要更正此缺陷,请将重新分配函数的结果赋给一个临时变量,然后在重新分配成功后恢复原始指针。
To correct the defect, assign the result of the reallocation function to a temporary, and then replace the original pointer after successful reallocation.
若要更正此缺陷,请将重新分配函数的结果赋给一个临时变量,然后在重新分配成功后恢复原始指针。
To correct the defect, assign the result of the reallocation function to a temporary, and then replace the original pointer after successful reallocation.
应用推荐