[PATCH] wispr: Avoid possible crash by not passing wispr context around

2012-10-11 Thread Jukka Rissanen
We cannot pass the wp_context directly to callback because the network might have been disconnected already and wp_context would have been freed already in that case. --- src/wispr.c | 47 +-- 1 file changed, 45 insertions(+), 2 deletions(-) diff --git

Re: [PATCH] wispr: Avoid possible crash by not passing wispr context around

2012-10-12 Thread Patrik Flykt
On Thu, 2012-10-11 at 13:45 +0300, Jukka Rissanen wrote: > We cannot pass the wp_context directly to callback > because the network might have been disconnected > already and wp_context would have been freed already in > that case. I sent a shorter one with the subject "[PATCH] wispr: Keep track o