Wireshark-commits: [Wireshark-commits] master 67f4673: geoip_db: replace g_free with free.
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 22 Feb 2017 23:20:44 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=67f4673ce5af374b74994c8a8c488aab4dbfdca0
Submitter: Jo?o Valverde (j@xxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

67f4673 by Dario Lombardo (lomato@xxxxxxxxx):

    geoip_db: replace g_free with free.
    
    Fix also a const cast by using the proper constness.
    
    Change-Id: Ifcf1854051c7f5dec911331d9cfc809e6b2dd42e
    Reviewed-on: https://code.wireshark.org/review/20246
    Petri-Dish: João Valverde <j@xxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Dario Lombardo <lomato@xxxxxxxxx>
    Reviewed-by: João Valverde <j@xxxxxx>
    

Actions performed:

    from  785a0d8   g_malloc -> g_malloc0 where not all struct elements are initialized or when combined with memset.
    adds  67f4673   geoip_db: replace g_free with free.


Summary of changes:
 epan/geoip_db.c |   38 ++++++++++++++++++++++----------------
 1 file changed, 22 insertions(+), 16 deletions(-)