1
0
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:
Gerald Carter 2006-02-15 18:22:00 +00:00 committed by Gerald (Jerry) Carter
parent 04af2ab06e
commit fbe02a6021

View File

@ -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;
}