summaryrefslogtreecommitdiffstats
path: root/source/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
commite61aec84edaf55b9ee087b076d2f1311033dc839 (patch)
tree8436c99d8434e0436b1122a676b53fd9c8069361 /source/msdfs
parent23dc3fc7009ce40064db57d5ec8b720c7d9350a8 (diff)
downloadsamba-e61aec84edaf55b9ee087b076d2f1311033dc839.tar.gz
samba-e61aec84edaf55b9ee087b076d2f1311033dc839.tar.xz
samba-e61aec84edaf55b9ee087b076d2f1311033dc839.zip
move to SAFE_FREE()
Diffstat (limited to 'source/msdfs')
-rw-r--r--source/msdfs/msdfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/msdfs/msdfs.c b/source/msdfs/msdfs.c
index 51d60608a28..5aaca4ef347 100644
--- a/source/msdfs/msdfs.c
+++ b/source/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;
}