DaanDeMeyer / reproc

A cross-platform (C99/C++11) process library
MIT License
552 stars 65 forks source link

attribute_list in process.windows.c ln335 has a memory leak #64

Closed AokiYuune closed 3 years ago

AokiYuune commented 3 years ago

I found a memory leak in process.windows.c. DeleteProcThreadAttributeList(attribute_list) will not free attribute_list, maybe we should check and free attribute_list in ln 438 & ln 234.