Lsan: fix invalid memory access

The chart object can be destroyed after the context.

Change-Id: I5ae370638f296ea314ee11680e0a8d81a8fdbe69
Lsan: fix memory leaks

Change-Id: I35adb022f12c6833f4f29b2e8dad44394a2c4be5
remove unused variable

Change-Id: Ib79f0c525608d279eebe820bfc82e84dd3518c29
Lsan: fix memory leaks

Change-Id: I010c7c194bf0680a499077b6b364498a09542764
Lsan: fix memory leak

Change-Id: Id8adb7517960a33f9900cb773b62b84db71e795a
Lsan: fix memory leak

Change-Id: I82a517a267cceaac4dd1030d45c67fc070e22def
we only support GLX 1.3+

Change-Id: I2447498cf92da91a7fb2d67ee041d603ae16fe25
whitespace clean-up

Change-Id: I10bdfc3356bda66fefa59fa2c9f63f9231d8728e