Fork自 RT-Thread / rt-thread
体验新版 GitCode,发现更多精彩内容 >>
申请内存失败时,直接return,此前代码goto _exit进行rt_free空指针,会造成内存泄漏