|
@ -884,7 +884,7 @@ void basilisks_loop(void *arg) |
|
|
if ( pending->dependents == 0 || pending->childrendone >= pending->numchildren ) |
|
|
if ( pending->dependents == 0 || pending->childrendone >= pending->numchildren ) |
|
|
{ |
|
|
{ |
|
|
HASH_DELETE(hh,myinfo->basilisks.issued,pending); |
|
|
HASH_DELETE(hh,myinfo->basilisks.issued,pending); |
|
|
if ( --pending->refcount == 0 ) |
|
|
if ( --pending->refcount == 0 && 0 ) |
|
|
{ |
|
|
{ |
|
|
if ( pending->dependents != 0 ) |
|
|
if ( pending->dependents != 0 ) |
|
|
free(pending->dependents); |
|
|
free(pending->dependents); |
|
|