mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 07:20:11 +00:00
winnt-cleanup-memory-leak-20030303
FIXES 1322 due to a change in the smb protocol we leaked memory. fix it.
This commit is contained in:
parent
f17fe1ca6a
commit
241c062810
@ -2365,8 +2365,9 @@ nextEntry:
|
|||||||
* or if something went wrong, close the search.
|
* or if something went wrong, close the search.
|
||||||
*/
|
*/
|
||||||
/* ((searchFlags & 1) || ((searchFlags & 2) && eos) */
|
/* ((searchFlags & 1) || ((searchFlags & 2) && eos) */
|
||||||
if ((searchFlags & 1) || (returnedNames == 0)
|
if ((searchFlags & 1) || (returnedNames == 0) || ((searchFlags & 2) &&
|
||||||
|| code != 0) smb_DeleteDirSearch(dsp);
|
eos) || code != 0)
|
||||||
|
smb_DeleteDirSearch(dsp);
|
||||||
if (code)
|
if (code)
|
||||||
smb_SendTran2Error(vcp, p, opx, code);
|
smb_SendTran2Error(vcp, p, opx, code);
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user