http://git.etherboot.org
/
people
/
pcmattman
/
gpxe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d25357
)
Add explicit "freeing" debug messages.
author
Michael Brown
<mcb30@etherboot.org>
Fri, 18 May 2007 15:42:02 +0000
(15:42 +0000)
committer
Michael Brown
<mcb30@etherboot.org>
Fri, 18 May 2007 15:42:02 +0000
(15:42 +0000)
src/core/refcnt.c
patch
|
blob
|
history
diff --git
a/src/core/refcnt.c
b/src/core/refcnt.c
index
4efd9d7
..
227dac3
100644
(file)
--- a/
src/core/refcnt.c
+++ b/
src/core/refcnt.c
@@
-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 );
}
}