From 2bcaa1f133ea496775a98d6cc6c65ff35c5218e8 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Fri, 18 Nov 2005 16:01:39 +0000 Subject: [PATCH] Fix free of uninitialized pointer Fix free of uninitialized pointer (bug#1576). --- src/conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/conf.c b/src/conf.c index 9a8591fc..50ac844e 100644 --- a/src/conf.c +++ b/src/conf.c @@ -3808,7 +3808,7 @@ static int parse_args(snd_config_t *subs, const char *str, snd_config_t *defs) snd_config_t *def, *sub, *typ; const char *new = str; const char *tmp; - char *val; + char *val = NULL; err = parse_arg(&new, &varlen, &val); if (err < 0) goto _err; -- 2.47.1