Wireshark-commits: [Wireshark-commits] rev 45812: /trunk/ /trunk/epan/: prefs.c
Date: Sat, 27 Oct 2012 20:29:12 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=45812

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

Log:
 There's no need to g_strdup our default prefs - setting them as literals
 works just fine and doesn't leak any memory.
 
 Use wmem_permanent_scope() for the one string we do have to copy, to ensure
 it doesn't leak either.

Directory: /trunk/epan/
  Changes    Path          Action
  +12 -10    prefs.c       Modified