Remove useless memset() before free()
This commit is contained in:
parent
20eb6afd15
commit
5e132e3874
1 changed files with 0 additions and 1 deletions
|
@ -223,7 +223,6 @@ loc_FreeThreadInfo(empth_t *pThread)
|
|||
CloseHandle(pThread->hThreadEvent);
|
||||
if (pThread->szName != NULL)
|
||||
free(pThread->szName);
|
||||
memset(pThread, 0, sizeof(*pThread));
|
||||
free(pThread);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue