Wireshark-commits: [Wireshark-commits] master e4f88dd: Fix a memory leak registering prefs
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 25 Jun 2015 17:39:08 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=e4f88dd6cb8b81a2a08ba2ab302968e68f83a0c2
Submitter: Evan Huus (eapache@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

e4f88dd by Evan Huus (eapache@xxxxxxxxx):

    Fix a memory leak registering prefs
    
    Built-in string prefs have to be dynamic, but get overwritten by the
    registration routine, so we have to save and then free them after-the-fact.
    
    Change-Id: Ib418b14296391dd198a8b49b0c99c5f697d8050f
    Reviewed-on: https://code.wireshark.org/review/9132
    Reviewed-by: Evan Huus <eapache@xxxxxxxxx>
    

Actions performed:

    from  9dd21d9   Qt, cmake: put the build dir before the source dir in the include path
    adds  e4f88dd   Fix a memory leak registering prefs


Summary of changes:
 epan/prefs.c |   22 +++++++++++++++++++++-
 1 file changed, 21 insertions(+), 1 deletion(-)