Wireshark-commits: [Wireshark-commits] master 5c2d82a: diam_dict.l: remove use of strdup
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 31 Aug 2016 16:52:46 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=5c2d82a6c24a06da0132fb7bd493ce4e58594f0d
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

5c2d82a by Peter Wu (peter@xxxxxxxxxxxxx):

    diam_dict.l: remove use of strdup
    
    This should fix crashes on Windows, _strdup should not be mixed with
    g_free. This was only uncovered in v2.3.0rc0-474-ga04b6fc, before that
    ddict_free was never called.
    
    Change-Id: I34111385c82715de70fb42fe44b99b89e132a374
    Reviewed-on: https://code.wireshark.org/review/17423
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  a7dd070   Win: switch back to Lua library compiled with MinGW
    adds  5c2d82a   diam_dict.l: remove use of strdup


Summary of changes:
 epan/diam_dict.l |   22 ++++++----------------
 1 file changed, 6 insertions(+), 16 deletions(-)