projects
/
invirt/third/libt4.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Partially fixed a bug in the test suite that led to test runs randomly failing.
[invirt/third/libt4.git]
/
handle.cc
diff --git
a/handle.cc
b/handle.cc
index
3b6e1fa
..
d32c895
100644
(file)
--- a/
handle.cc
+++ b/
handle.cc
@@
-62,10
+62,11
@@
hinfo * handle_mgr::acquire_handle(string m) {
if (hmap.find(m) == hmap.end()) {
h = new hinfo(m);
hmap[m] = h;
+ h->refcnt++;
} else if (!hmap[m]->del) {
h = hmap[m];
+ h->refcnt++;
}
- h->refcnt++;
return h;
}