summaryrefslogtreecommitdiff
path: root/source3/msdfs
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2001-09-17 04:16:35 +0000
committerSimo Sorce <idra@samba.org>2001-09-17 04:16:35 +0000
commit81fdc3c3f76075babe3e1f4bf43ed2cfd5723472 (patch)
tree6ab7772a7668a46791b953e8bbb018358c3d7a14 /source3/msdfs
parentacc373297159d87849d5e4c48345723c44fc3e95 (diff)
downloadsamba-81fdc3c3f76075babe3e1f4bf43ed2cfd5723472.tar.gz
samba-81fdc3c3f76075babe3e1f4bf43ed2cfd5723472.tar.bz2
samba-81fdc3c3f76075babe3e1f4bf43ed2cfd5723472.zip
move to SAFE_FREE()
(This used to be commit e61aec84edaf55b9ee087b076d2f1311033dc839)
Diffstat (limited to 'source3/msdfs')
-rw-r--r--source3/msdfs/msdfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/msdfs/msdfs.c b/source3/msdfs/msdfs.c
index 51d60608a2..5aaca4ef34 100644
--- a/source3/msdfs/msdfs.c
+++ b/source3/msdfs/msdfs.c
@@ -443,7 +443,7 @@ static int setup_ver2_dfs_referral(char* pathname, char** ppdata,
}
/* add in the unexplained 22 (0x16) bytes at the end */
memset(pdata+uni_curroffset,'\0',0x16);
- free(junction->referral_list);
+ SAFE_FREE(junction->referral_list);
return reply_size;
}
@@ -523,7 +523,7 @@ static int setup_ver3_dfs_referral(char* pathname, char** ppdata,
uni_curroffset += unilen;
offset += VERSION3_REFERRAL_SIZE;
}
- free(junction->referral_list);
+ SAFE_FREE(junction->referral_list);
return reply_size;
}