Wireshark-commits: [Wireshark-commits] master 5625b62: Lua: Free Pref default string
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 14 Dec 2015 19:01:11 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=5625b62aa417c23102f254268563995773582e39
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

5625b62 by Stig Bjørlykke (stig@xxxxxxxxxxxxx):

    Lua: Free Pref default string
    
    Store the Pref default string value and ensure this is freed both
    when registering the pref and when not.
    
    Use g_malloc0 to allocate Pref and avoid several init's.
    
    Change-Id: I5f97a15d06068d7805f02f7c7feea61f9b2030f5
    Reviewed-on: https://code.wireshark.org/review/12626
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  6af3fa0   64-bit constants need to be wrapped in G_GUINT64_CONSTANT().
    adds  5625b62   Lua: Free Pref default string


Summary of changes:
 epan/wslua/wslua.h      |    1 +
 epan/wslua/wslua_pref.c |   12 +++++++-----
 2 files changed, 8 insertions(+), 5 deletions(-)