From: Zbigniew Jędrzejewski-Szmek Date: Tue, 10 Mar 2015 00:41:00 +0000 (-0400) Subject: efivars: itialize variable X-Git-Tag: v220~827 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ad7bcf526d5ec54838bc9411a0e09a293845a015;p=thirdparty%2Fsystemd.git efivars: itialize variable Introduced a few commits ago. --- diff --git a/src/shared/efivars.c b/src/shared/efivars.c index d3bec5092d8..20067c601ad 100644 --- a/src/shared/efivars.c +++ b/src/shared/efivars.c @@ -105,7 +105,7 @@ int efi_get_variable( uint32_t a; ssize_t n; struct stat st; - _cleanup_free_ void *buf; + _cleanup_free_ void *buf = NULL; assert(name); assert(value);