• Show log

    Commit

  • Hash : 77c8ee74
    Author : Patrick Steinhardt
    Date : 2017-03-20T08:59:30

    checkout: fix double-free of checkout_data's mkdir_map
    
    We currently call `git_strmap_free` on `checkout_data.mkdir_map` in the
    `checkout_data_clear` function. The only thing protecting us from a
    double-free is that the `git_strmap_free` function is in fact not a
    function, but a macro that also sets the map to NULL.
    
    Remove the second call to `git_strmap_free` and explicitly set the map
    member to NULL.