summaryrefslogtreecommitdiffstats
path: root/runtime/obj.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-05-13 13:22:25 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-05-13 13:22:25 +0200
commit73b16a5d7703078a46d960bd8922d2ae3a662769 (patch)
treebc20bc1721bc3aed8ba57686db5de7e456b2870f /runtime/obj.c
parente2b229868955a6f6a6380273314d0d90ddad1273 (diff)
downloadrsyslog-73b16a5d7703078a46d960bd8922d2ae3a662769.tar.gz
rsyslog-73b16a5d7703078a46d960bd8922d2ae3a662769.tar.bz2
rsyslog-73b16a5d7703078a46d960bd8922d2ae3a662769.zip
added test for property replacer field functionality to testbench
plus some cosmetic changes
Diffstat (limited to 'runtime/obj.c')
-rw-r--r--runtime/obj.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/runtime/obj.c b/runtime/obj.c
index 2a9df9ed..20b918eb 100644
--- a/runtime/obj.c
+++ b/runtime/obj.c
@@ -205,9 +205,7 @@ DestructObjSelf(obj_t *pThis)
DEFiRet;
ISOBJ_assert(pThis);
- if(pThis->pszName != NULL) {
- free(pThis->pszName);
- }
+ free(pThis->pszName);
RETiRet;
}