summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2017-07-25 13:08:56 +0200
committerThomas Haller <thaller@redhat.com>2017-07-25 13:09:45 +0200
commitb2d21817ada62d5e381404a08092ce3bd8abaa7d (patch)
treea35545c9d5049eb4d1cc9b1d305e58fdd56106e9
parent81b2d777954b45cedf492d041e7eaf7654dc069d (diff)
downloadNetworkManager-b2d21817ada62d5e381404a08092ce3bd8abaa7d.tar.gz
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
-rw-r--r--src/nm-core-utils.c2
1 files changed, 1 insertions, 1 deletions
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;
}