comctl32: Remove redundant NULL check before free (found by Smatch).

This commit is contained in:
Lionel Debroux 2007-10-20 09:31:32 +02:00 committed by Alexandre Julliard
parent 58b743161b
commit 29ddd49130
1 changed files with 1 additions and 2 deletions

View File

@ -5430,8 +5430,7 @@ TOOLBAR_Destroy (HWND hwnd, WPARAM wParam, LPARAM lParam)
if (infoPtr->strings) {
INT i;
for (i = 0; i < infoPtr->nNumStrings; i++)
if (infoPtr->strings[i])
Free (infoPtr->strings[i]);
Free (infoPtr->strings[i]);
Free (infoPtr->strings);
}