Browse Source

Add explicit "freeing" debug messages.

tags/v0.9.3
Michael Brown 17 years ago
parent
commit
7c0a069f42
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      src/core/refcnt.c

+ 3
- 0
src/core/refcnt.c View File

66
 		return;
66
 		return;
67
 
67
 
68
 	if ( refcnt->free ) {
68
 	if ( refcnt->free ) {
69
+		DBGC ( refcnt, "REFCNT %p being freed via method %p\n",
70
+		       refcnt, refcnt->free );
69
 		refcnt->free ( refcnt );
71
 		refcnt->free ( refcnt );
70
 	} else {
72
 	} else {
73
+		DBGC ( refcnt, "REFCNT %p being freed\n", refcnt );
71
 		free ( refcnt );
74
 		free ( refcnt );
72
 	}
75
 	}
73
 }
76
 }

Loading…
Cancel
Save