diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-10-18 18:30:10 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-10-18 18:30:10 +0200 |
commit | 2243479b7415942604284028cd34a20aa0ba79c0 (patch) | |
tree | 9d13b463baaccdcab307943f6896592f8385a677 /source3/lib/dbwrap_file.c | |
parent | 6a89b59ca6187ef6e06124c2aa729be18b43bb75 (diff) | |
parent | 4f9b6fdce4340a1022f659daaa035d0336ff6b53 (diff) | |
download | samba-2243479b7415942604284028cd34a20aa0ba79c0.tar.gz samba-2243479b7415942604284028cd34a20aa0ba79c0.tar.bz2 samba-2243479b7415942604284028cd34a20aa0ba79c0.zip |
Merge branch 'master' of ssh://git.samba.org/data/git/samba
Diffstat (limited to 'source3/lib/dbwrap_file.c')
-rw-r--r-- | source3/lib/dbwrap_file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/dbwrap_file.c b/source3/lib/dbwrap_file.c index e3779de1e4..69ad8e4b20 100644 --- a/source3/lib/dbwrap_file.c +++ b/source3/lib/dbwrap_file.c @@ -105,7 +105,7 @@ static struct db_record *db_file_fetch_locked(struct db_context *db, /* Cut to 8 bits */ file->hash = fsh(key.dptr, key.dsize); - file->name = hex_encode(file, (unsigned char *)key.dptr, key.dsize); + file->name = hex_encode_talloc(file, (unsigned char *)key.dptr, key.dsize); if (file->name == NULL) { DEBUG(0, ("hex_encode failed\n")); TALLOC_FREE(result); |