diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-06-23 11:33:11 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-06-23 11:33:11 +0200 |
commit | 6181156b1c42825bac892d3e1284dcb2d4fcf5d3 (patch) | |
tree | 83c643e66580506bdba2de4cd1fa497bd8e0d96c | |
parent | d798f5b66f4ae699f352b6c40abd07495eff8f94 (diff) | |
download | rsyslog-6181156b1c42825bac892d3e1284dcb2d4fcf5d3.tar.gz rsyslog-6181156b1c42825bac892d3e1284dcb2d4fcf5d3.tar.xz rsyslog-6181156b1c42825bac892d3e1284dcb2d4fcf5d3.zip |
fix: previous patch aborted in release mode
-rw-r--r-- | runtime/obj.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/obj.h b/runtime/obj.h index 50868cc9..419d29cc 100644 --- a/runtime/obj.h +++ b/runtime/obj.h @@ -81,7 +81,9 @@ ((obj_t*) (pThis))->pszName = NULL; \ ((obj_t*) (pThis))->iObjCooCKiE = 0xBADEFEE #else -# define objConstructSetObjInfo(pThis) ((obj_t*) (pThis))->pObjInfo = pObjInfoOBJ +# define objConstructSetObjInfo(pThis) \ + ((obj_t*) (pThis))->pObjInfo = pObjInfoOBJ; \ + ((obj_t*) (pThis))->pszName = NULL #endif #define objDestruct(pThis) (((obj_t*) (pThis))->pObjInfo->objMethods[objMethod_DESTRUCT])(&pThis) #define objSerialize(pThis) (((obj_t*) (pThis))->pObjInfo->objMethods[objMethod_SERIALIZE]) |