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