From b2d21817ada62d5e381404a08092ce3bd8abaa7d Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Tue, 25 Jul 2017 13:08:56 +0200 Subject: [PATCH] core: fix setting output argument in nm_utils_stable_id_parse() This bug has no consequences, as the only caller already initialized the output variable to NULL. Fixes: f0d40525dfb079820e5dce48360ef6a9a540064a --- src/nm-core-utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nm-core-utils.c b/src/nm-core-utils.c index 2748619695..d39991bd27 100644 --- a/src/nm-core-utils.c +++ b/src/nm-core-utils.c @@ -3474,7 +3474,7 @@ nm_utils_stable_id_parse (const char *stable_id, g_return_val_if_fail (out_generated, NM_UTILS_STABLE_TYPE_RANDOM); if (!stable_id) { - out_generated = NULL; + *out_generated = NULL; return NM_UTILS_STABLE_TYPE_UUID; }