summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2013-10-20 16:52:06 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-11-07 11:39:44 +0100
commit5a065092ef744540f57e3e6e72210fbe17a1e2f3 (patch)
tree949362555dec03ec3f18b950726377197b1048ce
parent4fcc27c0474b1879119cb04de4ed209711df231e (diff)
downloadsssd-5a065092ef744540f57e3e6e72210fbe17a1e2f3.tar.gz
sssd-5a065092ef744540f57e3e6e72210fbe17a1e2f3.tar.xz
sssd-5a065092ef744540f57e3e6e72210fbe17a1e2f3.zip
UTIL: Free log message when using journald
-rw-r--r--src/util/sss_log.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/sss_log.c b/src/util/sss_log.c
index 5be9e7f2b..b6b922785 100644
--- a/src/util/sss_log.c
+++ b/src/util/sss_log.c
@@ -88,6 +88,8 @@ void sss_log(int priority, const char *format, ...)
"SYSLOG_FACILITY=%i", LOG_FAC(LOG_DAEMON),
"SYSLOG_IDENTIFIER=%s", debug_prg_name,
NULL);
+
+ free(message);
}
#else /* WITH_JOURNALD */