intel-virtual-output: Mode names are freed with ScreenResources
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 14 Mar 2014 14:34:48 +0000 (14:34 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 14 Mar 2014 14:35:29 +0000 (14:35 +0000)
commit5079830bd5f01740c4cbf84888bdf7a93bb2868e
tree57dcfa7a60483064a8b82fd8462e93ca536557d9
parentc64d2572bafeacae25e9b58c8372ce91858c3832
intel-virtual-output: Mode names are freed with ScreenResources

So we have to be careful not to continue to reference the strings after
they may be freed.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
tools/virtual.c