Commit 95493899 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Make sure net->buffered_updates is cleared when freed.

parent c5c4a839
......@@ -292,6 +292,7 @@ network_up(struct network *net, int up)
net->update_bufsize = 0;
if(net->buffered_updates)
free(net->buffered_updates);
net->buffered_updates = NULL;
net->sendbuf = NULL;
if(net->ifindex > 0) {
memset(&mreq, 0, sizeof(mreq));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment