comctl32: Remove redundant NULL check before free (found by Smatch).
This commit is contained in:
parent
96e4320feb
commit
58b743161b
|
@ -3064,8 +3064,7 @@ TAB_Destroy (TAB_INFO *infoPtr)
|
|||
|
||||
if (infoPtr->items) {
|
||||
for (iItem = 0; iItem < infoPtr->uNumItem; iItem++) {
|
||||
if (TAB_GetItem(infoPtr, iItem)->pszText)
|
||||
Free (TAB_GetItem(infoPtr, iItem)->pszText);
|
||||
Free (TAB_GetItem(infoPtr, iItem)->pszText);
|
||||
}
|
||||
Free (infoPtr->items);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue