ido / libvma-old

Automatically exported from code.google.com/p/libvma
Other
0 stars 1 forks source link

Delete rx channel from global fd collection #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Previously rx channel fds were never explicitly removed from the global
fd collection, and the m_p_n_rx_channel_fds member was leaked.  Since
the rx channel fds were never removed, a subsequent call to
add_cq_channel_fd() with a new fd that happens to match an old no longer
existing rx channel fd, would trigger the removal of the fd from the
global collection and would not add the new fd.

This removes the rx channel fd from the global fd collection as the
completion channels are destroyed, and frees the m_p_n_rx_channel_fds
member so that it is not leaked.

Original issue reported on code.google.com by shawn.bo...@gmail.com on 17 Jan 2014 at 6:40

Attachments:

GoogleCodeExporter commented 9 years ago
thanks!

pushed it with a small addition.

https://code.google.com/p/libvma/source/detail?r=796c3a09cce94a1640fd86db102d1e9
9fa659d38

Original comment by orkmella...@gmail.com on 20 Jan 2014 at 3:46