Closed oToToT closed 3 years ago
When initialize_device_info failed, it will free allocated memory and return 0. However, the caller might free the memory again and cause a double free problem.
I see, this case was not handled properly. Thanks for the fix. Take care!
When initialize_device_info failed, it will free allocated memory and return 0. However, the caller might free the memory again and cause a double free problem.