mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
Fix memleak
This commit is contained in:
parent
46ec022f87
commit
6770d69942
@ -207,8 +207,10 @@ ATTRIB_MAP_ENTRY sidmap_attr_list[] = {
|
||||
if ( !list )
|
||||
return;
|
||||
|
||||
while ( list[i] )
|
||||
while ( list[i] ) {
|
||||
SAFE_FREE( list[i] );
|
||||
i+=1;
|
||||
}
|
||||
|
||||
SAFE_FREE( list );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user