From 6181156b1c42825bac892d3e1284dcb2d4fcf5d3 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Tue, 23 Jun 2009 11:33:11 +0200 Subject: fix: previous patch aborted in release mode --- runtime/obj.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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]) -- cgit