mirror of
https://github.com/ValdikSS/GoodbyeDPI
synced 2025-08-30 22:05:10 +00:00
Free allocated error message string
This commit is contained in:
@@ -119,6 +119,7 @@ static HANDLE init(char *filter, UINT64 flags) {
|
||||
NULL, GetLastError(), MAKELANGID(LANG_ENGLISH, SUBLANG_DEFAULT),
|
||||
(LPTSTR)&errormessage, 0, NULL);
|
||||
printf("%s", errormessage);
|
||||
free(errormessage);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user