builtin/apply.c: use xstrdup_or_null instead of null_strdup
authorJeff King <peff@peff.net>
Tue, 13 Jan 2015 01:58:15 +0000 (20:58 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 13 Jan 2015 18:03:38 +0000 (10:03 -0800)
commit444069078687fc00586824a21eff9758fc4d0625
treefed994ac379ffb0ece63ee16010229d7b9db9c2a
parentd64ea0f83bd7e676778f833c57f969a94518a28d
builtin/apply.c: use xstrdup_or_null instead of null_strdup

This file had its own identical helper that predates
xstrdup_or_null. Let's use the global one to avoid
repetition.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/apply.c