Commit 09efb3fb authored by claes's avatar claes

*** empty log message ***

parent 630aa214
......@@ -40,7 +40,7 @@ public:
void user(void *p) {} // Fix // set user data
void *user() { return 0;} // Fix // get user data
ldh_sRefInfo *refinfo(ldh_sRefInfo *rp) { ldh_sRefInfo *r; return r;} // Fix
ldh_sRefInfo *refinfo(ldh_sRefInfo *rp) { memset(rp,0,sizeof(*rp)); return rp;} // Fix
pwr_tOid oid(); //< Object identifier of this object
......
......@@ -2,11 +2,13 @@
wb_orep::wb_orep() : m_nRef(0)
{
// printf( "orep C: %x %d\n", this, ++ocnt);
}
void wb_orep::unref()
{
if (--m_nRef == 0) {
// printf( "orep : %x %d\n", this, --ocnt);
delete this;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment