Fixed memory leak evident in MCSTAS simulation.
r1609 | ffr | 2007-03-06 16:09:24 +1100 (Tue, 06 Mar 2007) | 2 lines
This commit is contained in:
committed by
Douglas Clowes
parent
cbbfbfe552
commit
38412a6e3d
@@ -34,6 +34,7 @@ static int pollHdb(struct __POLLDRIV *self, SConnection *pCon){
|
||||
if(!compareHdbValue(old,newVal)){
|
||||
UpdateHipadabaPar(node,newVal,pCon);
|
||||
}
|
||||
ReleaseHdbValue(&newVal);
|
||||
return 1;
|
||||
} else {
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user