diff options
| author | Anton <anton@picapica> | 2019-02-24 18:16:19 +0400 |
|---|---|---|
| committer | Anton <anton@picapica> | 2019-02-24 18:16:19 +0400 |
| commit | 389281c4f525290149e1dc35443ccff10d1a9f5b (patch) | |
| tree | 7e96df35919ec0f38651e8d82724b553f009527a /pica-client/skynet.h | |
| parent | 1bbff2ba21bdfa09dcac716c7d1deccceb07734f (diff) | |
| download | pica-pica-389281c4f525290149e1dc35443ccff10d1a9f5b.tar.gz pica-pica-389281c4f525290149e1dc35443ccff10d1a9f5b.zip | |
pica-client: bugfix, close unused c2n connections after PICA_event_loop() is finished in order to prevent invalid access to freed memory
Diffstat (limited to 'pica-client/skynet.h')
| -rw-r--r-- | pica-client/skynet.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pica-client/skynet.h b/pica-client/skynet.h index f748e95..1c0c7d9 100644 --- a/pica-client/skynet.h +++ b/pica-client/skynet.h @@ -80,6 +80,7 @@ signals: private: Nodes nodes; QList<QPair<struct PICA_c2n *, Nodes::NodeRecord> > connecting_nodes; + QList<struct PICA_c2n *> connected_nodes_to_close; bool self_aware; QString status; struct PICA_c2n *active_nodelink; |
