Files
git/builtin
Stefan Beller d7a643b73f prefix_path(): unconditionally free results in the callers
As of d089ebaa (setup: sanitize absolute and funny paths in
get_pathspec(), 2008-01-28), prefix_path() always returns a
newly allocated string, so callers should free its result.

Additionally, drop the const from variables to which the result of
the prefix_path() is assigned, so they can be free()'d without
having to cast-away the constness.

Signed-off-by: Stefan Beller <sbeller@google.com>
Reviewed-by: Eric Sunshine <sunshine@sunshineco.com>
Helped-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2015-05-05 10:31:51 -07:00
..
2015-01-14 09:32:04 -08:00
2014-07-16 11:10:11 -07:00
2015-03-23 11:12:58 -07:00
2015-02-11 13:44:20 -08:00
2015-03-06 15:02:30 -08:00
2015-03-25 12:54:24 -07:00
2015-01-14 09:32:04 -08:00
2015-03-23 11:12:58 -07:00
2015-01-14 09:32:04 -08:00
2015-03-05 12:45:39 -08:00
2015-01-14 09:32:04 -08:00
2015-01-14 09:32:04 -08:00
2015-03-20 13:11:53 -07:00
2015-01-14 09:32:04 -08:00
2015-01-14 09:32:04 -08:00
2015-01-14 09:32:04 -08:00
2015-03-20 12:40:56 -07:00
2015-02-11 13:44:20 -08:00
2015-01-14 09:32:04 -08:00
2015-01-14 09:32:04 -08:00
2015-01-14 09:32:04 -08:00
2015-02-11 13:44:20 -08:00