mirror of
https://github.com/xcat2/xNBA.git
synced 2024-12-24 12:11:33 +00:00
Add explicit "freeing" debug messages.
This commit is contained in:
parent
7d2535779c
commit
7c0a069f42
@ -66,8 +66,11 @@ void ref_put ( struct refcnt *refcnt ) {
|
||||
return;
|
||||
|
||||
if ( refcnt->free ) {
|
||||
DBGC ( refcnt, "REFCNT %p being freed via method %p\n",
|
||||
refcnt, refcnt->free );
|
||||
refcnt->free ( refcnt );
|
||||
} else {
|
||||
DBGC ( refcnt, "REFCNT %p being freed\n", refcnt );
|
||||
free ( refcnt );
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user