mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
r13510: plug memory leak in WINS server code.
(This used to be commit 381c327a65
)
This commit is contained in:
parent
04af2ab06e
commit
fbe02a6021
@ -207,6 +207,11 @@ struct name_record *find_name_on_wins_subnet(const struct nmb_name *nmbname, BOO
|
||||
}
|
||||
|
||||
namerec = wins_record_to_name_record(key, data);
|
||||
|
||||
/* done with the this */
|
||||
|
||||
SAFE_FREE( data.dptr );
|
||||
|
||||
if (!namerec) {
|
||||
return NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user