Fix a crash when enumerating devices on a Dell WLD15

This commit is contained in:
Richard Hughes 2017-02-13 11:03:03 +00:00
parent 31c36cd2b6
commit d82a6024e7

View File

@ -406,7 +406,7 @@ synapticsmst_device_enumerate_device (SynapticsMSTDevice *device, GError **error
system = g_ascii_strdown (system, -1);
}
else if (priv->board_id == SYNAPTICSMST_DEVICE_BOARDID_DELL_WLD15_WIRELESS)
system = "wld15";
system = g_strdup ("wld15");
/* This is a host system, use system ID */
else