From: Peter Hutterer Date: Wed, 5 Feb 2014 04:16:01 +0000 (+1000) Subject: xfree86: device name and driver are not const char X-Git-Tag: xorg-server-1.15.99.901~10^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=93bf9544712a39f10557533993d8826b2b67fc9a;p=platform%2Fupstream%2Fxorg-server.git xfree86: device name and driver are not const char Allocated in one place, freed in another. Signed-off-by: Peter Hutterer Reviewed-by: Hans de Goede Reviewed-by: Keith Packard --- diff --git a/hw/xfree86/common/xf86Xinput.h b/hw/xfree86/common/xf86Xinput.h index f94261a..b6d1251 100644 --- a/hw/xfree86/common/xf86Xinput.h +++ b/hw/xfree86/common/xf86Xinput.h @@ -82,8 +82,8 @@ typedef struct _InputDriverRec { typedef struct _InputInfoRec { struct _InputInfoRec *next; - const char *name; - const char *driver; + char *name; + char *driver; int flags;