Commit 58b74316 authored by Lionel Debroux's avatar Lionel Debroux Committed by Alexandre Julliard

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

parent 96e4320f
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment