diff --git a/polldriv.c b/polldriv.c index 36959c26..fcd23df9 100644 --- a/polldriv.c +++ b/polldriv.c @@ -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; diff --git a/polldriv.tc b/polldriv.tc index c0e88ceb..2337eda8 100644 --- a/polldriv.tc +++ b/polldriv.tc @@ -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;