Browse Source

Free allocated error message string

ipv6
ValdikSS 7 years ago
parent
commit
03e36b968a
  1. 1
      goodbyedpi.c

1
goodbyedpi.c

@ -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;
}

Loading…
Cancel
Save