summaryrefslogtreecommitdiffstats
path: root/source/lib/snprintf.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-12-26 08:32:30 +0000
committerJeremy Allison <jra@samba.org>2001-12-26 08:32:30 +0000
commit26e4c4099c61c7ba9f2153e56061bea9882553d9 (patch)
treeb68969a82c21508f28f511fc7263e5242351e47c /source/lib/snprintf.c
parent5e3491784277dd90180ef199d2fa258614958545 (diff)
downloadsamba-26e4c4099c61c7ba9f2153e56061bea9882553d9.tar.gz
samba-26e4c4099c61c7ba9f2153e56061bea9882553d9.tar.xz
samba-26e4c4099c61c7ba9f2153e56061bea9882553d9.zip
Get religion on using SAFE_FREE.
Jeremy.
Diffstat (limited to 'source/lib/snprintf.c')
-rw-r--r--source/lib/snprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/snprintf.c b/source/lib/snprintf.c
index 88eea2824be..8455847f065 100644
--- a/source/lib/snprintf.c
+++ b/source/lib/snprintf.c
@@ -820,7 +820,7 @@ static void dopr_outch(char *buffer, size_t *currlen, size_t maxlen, char c)
if (!msg)
return;
syslog(facility_priority, "%s", msg);
- free(msg);
+ SAFE_FREE(msg);
}
#endif /* HAVE_SYSLOG */
#endif /* HAVE_VSYSLOG */