sna: Suppress warning for freeing a "constant" string
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 30 Jan 2014 12:18:05 +0000 (12:18 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 30 Jan 2014 12:24:47 +0000 (12:24 +0000)
commitca2d9e69d08f5438a34dbf55ab058f5c4c3b3650
treeee998d9c89ab9aa7d946170e3fcc805896eeb8e9
parent5ef675159fd83ee393a86220eb4f8c514da8d0e7
sna: Suppress warning for freeing a "constant" string

We allocated and own the string, so we can free it!

sna_display.c: In function 'sna_output_get_modes':
sna_display.c:2314:4: warning: passing argument 1 of 'free' discards 'const' qualifier from pointer target type [enabled by default]
    free(current->name);

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
src/sna/sna_display.c