mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
Fix mem leak. Spotted by tpot (thanks Tim).
Jeremy.
This commit is contained in:
parent
b6a7704888
commit
03a1f46e34
@ -889,6 +889,7 @@ static void store_queue_struct(struct tdb_print_db *pdb, struct traverse_struct
|
||||
key.dptr = "INFO/linear_queue_array";
|
||||
key.dsize = strlen(key.dptr);
|
||||
tdb_store(pdb->tdb, key, data, TDB_REPLACE);
|
||||
SAFE_FREE(data.dptr);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user