doh, rushed code leads to leaked resources.

thanks lkjasa for pointing it out.

svn path=/trunk/; revision=23439
This commit is contained in:
Ged Murphy 2006-08-03 20:32:10 +00:00
parent 728a261829
commit 7288929ef0

View file

@ -516,5 +516,8 @@ DisplayTCPIPProperties(HWND hParent, IP_ADAPTER_INFO *pInfo)
ShowError(hParent, IDS_CANNOT_CREATE_PROPSHEET);
}
if (tpszCaption != NULL)
HeapFree(GetProcessHeap(), 0, tpszCaption);
return;
}