Wireshark-commits: [Wireshark-commits] rev 45814: /trunk/ /trunk/epan/: oids.c

Date: Sat, 27 Oct 2012 21:01:42 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=45814

User: eapache
Date: 2012/10/27 02:01 PM

Log:
 Do free overwritten names when registering oids. There was a comment claiming
 we couldn't since the name might not be on the heap, but it looks to me like
 we're always careful to put it on the heap via a g_strdup if necessary.
 
 Fixes some minor memory leaks.

Directory: /trunk/epan/
  Changes    Path          Action
  +8 -2      oids.c        Modified