diff options
author | Jeremy Allison <jra@samba.org> | 2001-12-26 08:32:30 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-12-26 08:32:30 +0000 |
commit | 26e4c4099c61c7ba9f2153e56061bea9882553d9 (patch) | |
tree | b68969a82c21508f28f511fc7263e5242351e47c /source/lib/snprintf.c | |
parent | 5e3491784277dd90180ef199d2fa258614958545 (diff) | |
download | samba-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.c | 2 |
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 */ |