Merge branch 'ma/split-symref-update-fix'
authorJunio C Hamano <gitster@pobox.com>
Tue, 19 Sep 2017 01:47:53 +0000 (10:47 +0900)
committerJunio C Hamano <gitster@pobox.com>
Tue, 19 Sep 2017 01:47:53 +0000 (10:47 +0900)
commitdafbe1993e54bccb80501a98812105a7bcddc748
tree24bcea3017eb518a6e5f81abd1cee2c7d4b0ab89
parent30675f7021f92b0e830fdb3c96370826d8f6723f
parent276d0e35c0c9cadaf38247f7a9ff716e293b2acb
Merge branch 'ma/split-symref-update-fix'

A leakfix.

* ma/split-symref-update-fix:
  refs/files-backend: add `refname`, not "HEAD", to list
  refs/files-backend: correct return value in lock_ref_for_update
  refs/files-backend: fix memory leak in lock_ref_for_update
  refs/files-backend: add longer-scoped copy of string to list
refs/files-backend.c