author | Jeff King <peff@peff.net> | |
Thu, 9 Jun 2011 15:55:09 +0000 (11:55 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 22 Jun 2011 18:24:51 +0000 (11:24 -0700) | ||
commit | f77bccaeba7a4c542e9b89d144af74bddd36fd08 | |
tree | 80636c7d0b50ba929bce8076fa92a66eec4a9d4e | tree | snapshot |
parent | 2f1d9e2b93e1b7fbfcfa59331db89dd6c76a3505 | commit | diff |
config: use strbuf_split_str instead of a temporary strbuf
This saves an allocation and copy, and also fixes a minor
memory leak.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This saves an allocation and copy, and also fixes a minor
memory leak.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
config.c | diff | blob | history |