TanmayPatil105 / procfetch

🎨 Yet another command-line system information utility written in C++
https://tanmaypatil105.github.io/procfetch/
GNU General Public License v3.0
23 stars 11 forks source link

check strdup #163

Closed youpong closed 3 months ago

youpong commented 3 months ago

If the return value of strdup is NULL, an exception runtime_error is thrown.

TanmayPatil105 commented 3 months ago

Thanks @youpong