diff options
author | Volker Lendecke <vl@sernet.de> | 2007-10-28 19:15:08 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-11-09 15:12:30 +0100 |
commit | 62b97b01561e332d3b566c4f70cc2601e2d7fcac (patch) | |
tree | e3f57396a7f07d01b953c26ac947ca4884e358ba /source3/rpc_server | |
parent | e63bcdd720d801df278ef84063c46144df087793 (diff) | |
download | samba-62b97b01561e332d3b566c4f70cc2601e2d7fcac.tar.gz samba-62b97b01561e332d3b566c4f70cc2601e2d7fcac.tar.bz2 samba-62b97b01561e332d3b566c4f70cc2601e2d7fcac.zip |
Make base64_encode_data_blob return a talloced string
(This used to be commit 5f205ab48d8ac3b7af573ea0be1ce095ab835448)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_samr_util.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/rpc_server/srv_samr_util.c b/source3/rpc_server/srv_samr_util.c index 7bac25e611..f7e20797a7 100644 --- a/source3/rpc_server/srv_samr_util.c +++ b/source3/rpc_server/srv_samr_util.c @@ -58,7 +58,7 @@ void copy_id20_to_sam_passwd(struct samu *to, SAM_USER_INFO_20 *from) if (STRING_CHANGED_NC(old_string,new_string)) pdb_set_munged_dial(to , new_string, PDB_CHANGED); - SAFE_FREE(new_string); + TALLOC_FREE(new_string); } } @@ -201,7 +201,7 @@ void copy_id21_to_sam_passwd(struct samu *to, SAM_USER_INFO_21 *from) if (STRING_CHANGED_NC(old_string,newstr)) pdb_set_munged_dial(to , newstr, PDB_CHANGED); - SAFE_FREE(newstr); + TALLOC_FREE(newstr); } if (from->fields_present & ACCT_RID) { @@ -425,7 +425,7 @@ void copy_id23_to_sam_passwd(struct samu *to, SAM_USER_INFO_23 *from) if (STRING_CHANGED_NC(old_string, newstr)) pdb_set_munged_dial(to , newstr, PDB_CHANGED); - SAFE_FREE(newstr); + TALLOC_FREE(newstr); } if (from->fields_present & ACCT_RID) { @@ -637,7 +637,7 @@ void copy_id25_to_sam_passwd(struct samu *to, SAM_USER_INFO_25 *from) if (STRING_CHANGED_NC(old_string,newstr)) pdb_set_munged_dial(to , newstr, PDB_CHANGED); - SAFE_FREE(newstr); + TALLOC_FREE(newstr); } if (from->fields_present & ACCT_RID) { |