projects
/
IRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cec3e1d
)
fix a small bug
author
jzhou
<jzhou>
Mon, 7 Dec 2009 18:44:50 +0000
(18:44 +0000)
committer
jzhou
<jzhou>
Mon, 7 Dec 2009 18:44:50 +0000
(18:44 +0000)
Robust/src/Runtime/multicoretask.c
patch
|
blob
|
history
diff --git
a/Robust/src/Runtime/multicoretask.c
b/Robust/src/Runtime/multicoretask.c
index b84de5c2f30a9a7778c1c5e4fcdfba0f2eebac08..7770bcd0d82a6c8054d4a5431d23713d4a8651b1 100644
(file)
--- a/
Robust/src/Runtime/multicoretask.c
+++ b/
Robust/src/Runtime/multicoretask.c
@@
-167,7
+167,9
@@
void disruntimedata() {
freeRuntimeHash(objRedirectLockTbl);
RUNFREE(locktable.bucket);
#endif
- genfreehashtable(activetasks);
+ if(activetasks != NULL) {
+ genfreehashtable(activetasks);
+ }
if(currtpd != NULL) {
RUNFREE(currtpd->parameterArray);
RUNFREE(currtpd);