summaryrefslogtreecommitdiffstats
path: root/runtime/glbl.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2013-10-28 17:20:36 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2013-10-28 17:20:36 +0100
commita5f5648f75d01aaea3ec8c07c55d80ad86579ed2 (patch)
treed27660f07d04bb4dfc5e4a3a41226b83b93210d7 /runtime/glbl.c
parent54a58d6f2343c1e6ca5a00b5c6d11eb9b81a74eb (diff)
downloadrsyslog-a5f5648f75d01aaea3ec8c07c55d80ad86579ed2.tar.gz
rsyslog-a5f5648f75d01aaea3ec8c07c55d80ad86579ed2.tar.bz2
rsyslog-a5f5648f75d01aaea3ec8c07c55d80ad86579ed2.zip
refactor: simplify localHostName property handling
Diffstat (limited to 'runtime/glbl.c')
-rw-r--r--runtime/glbl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/glbl.c b/runtime/glbl.c
index e1d4e92d..17ae0451 100644
--- a/runtime/glbl.c
+++ b/runtime/glbl.c
@@ -447,6 +447,7 @@ finalize_it:
static prop_t*
GetLocalHostNameProp(void)
{
+ prop.AddRef(propLocalHostName);
return(propLocalHostName);
}