2
0
mirror of https://github.com/xcat2/xNBA.git synced 2024-12-25 04:31:45 +00:00

Add explicit "freeing" debug messages.

This commit is contained in:
Michael Brown 2007-05-18 15:42:02 +00:00
parent 7d2535779c
commit 7c0a069f42

View File

@ -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 );
}
}