device->match is NULL since we haven't assigned it yet. Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net> --- libwacom/libwacom-database.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libwacom/libwacom-database.c b/libwacom/libwacom-database.c index cf8a6e2..bb2cf6a 100644 --- a/libwacom/libwacom-database.c +++ b/libwacom/libwacom-database.c @@ -295,7 +295,7 @@ libwacom_parse_tablet_keyfile(const char *path) device->match = match; } else { if (!libwacom_matchstr_to_ints(match, &device->vendor_id, &device->product_id, &device->bus)) { - DBG("failed to match '%s' for product/vendor IDs in '%s'\n", device->match, path); + DBG("failed to match '%s' for product/vendor IDs in '%s'\n", match, path); g_free (match); g_free (device); device = NULL; -- 1.7.10 ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Linuxwacom-devel mailing list Linuxwacom-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel