Wireshark-commits: [Wireshark-commits] rev 24661: /trunk/epan/ /trunk/epan/: conversation.c
Date: Mon, 17 Mar 2008 02:20:31 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=24661

User: morriss
Date: 2008/03/17 02:20 AM

Log:
 Move the conversation addresses to the se_ allocator.  This does not solve a memory leak but it does save a 12 line comment explaining why the const-ness of the pointers was being cast away and (more importantly) fixes the conversation part of the crashes detailed in http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1113 .  In particular the conversation keys themselves are se_ alloc'd so by the time we get to conversation_init() (again) the keys have already been freed by the se_ allocator so traversing them isn't such a good idea.

Directory: /trunk/epan/
  Changes    Path              Action
  +7 -30     conversation.c    Modified