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:
Ferdi Franceschini
2007-03-06 16:09:24 +11:00
committed by Douglas Clowes
parent cbbfbfe552
commit 38412a6e3d
2 changed files with 2 additions and 0 deletions

View File

@@ -38,6 +38,7 @@ static int pollHdb(struct __POLLDRIV *self, SConnection *pCon){
if(!compareHdbValue(old,newVal)){
UpdateHipadabaPar(node,newVal,pCon);
}
ReleaseHdbValue(&newVal);
return 1;
} else {
return 0;