Hi, Matthias Urlichs wrote:
> chan_visdn leaks memory
... which of course masked a bug. (That would be too easy otherwise.)
diff --git a/libq931/call.c b/libq931/call.c
index da1c25d..ea098fb 100644
--- a/libq931/call.c
+++ b/libq931/call.c
@@ -5640,7 +5640,7 @@ skip:
cs = container_of(msg->ies.ies[i],
struct q931_ie_call_state, ie);
} else if (msg->ies.ies[i]->cls->id == Q931_IE_CAUSE) {
- q931_ies_add_put(&ies, msg->ies.ies[i]);
+ q931_ies_add(&ies, msg->ies.ies[i]);
}
}
--
Matthias Urlichs | {M:U} IT Design @ m-u-it.de | [EMAIL PROTECTED]
Disclaimer: The quote was selected randomly. Really. | http://smurf.noris.de
- -
I like to believe that people in the long run are going to do more to promote
peace than our governments. Indeed, I think that people want peace so much
that one of these days governments had better get out of the way and let them
have it.
-- Dwight D. Eisenhower
_______________________________________________
Visdn-hackers mailing list
[email protected]
https://mailman.uli.it/mailman/listinfo/visdn-hackers