reset priv data pointer after free

This commit is contained in:
Andreas Öman 2008-02-10 21:04:39 +00:00
parent d79bbe3a55
commit 341a062c4a

View file

@ -101,6 +101,7 @@ transport_stop(th_transport_t *t, int flush_subscriptions)
st->st_ctx = NULL;
free(st->st_priv);
st->st_priv = NULL;
/* Clear reassembly buffer */