skia2/tools/sk_app
Ben Wagner 056bd0dd98 Fix leak of X window title.
Running 'viewer' on Linux with an ASan build produced LSan reports about
leaking textproperty.value. The documentation for
XStringListToTextProperty states that it is up to the user to free the
XTextProperty::value returned with XFree.

In addition, check the return value of XStringListToTextProperty for
failure.

Change-Id: I0db45d3d94f7c8126049c6a343b1aa121f9a7523
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/357597
Reviewed-by: Brian Osman <brianosman@google.com>
Reviewed-by: Jim Van Verth <jvanverth@google.com>
2021-01-26 21:44:38 +00:00
..
android Revert "Fix crash on windows viewer when starting in vulkan." 2020-12-16 14:52:07 +00:00
ios Revert "Fix crash on windows viewer when starting in vulkan." 2020-12-16 14:52:07 +00:00
mac Revert "Fix crash on windows viewer when starting in vulkan." 2020-12-16 14:52:07 +00:00
unix Fix leak of X window title. 2021-01-26 21:44:38 +00:00
win Fix Viewer crash when starting with vk msaa on windows. 2020-12-16 16:37:56 +00:00
Application.h Remove SampleApp and convert HelloWorld to sk_app 2017-11-21 18:37:19 +00:00
CommandSet.cpp Include the SkTSort header only where it is used. 2020-07-14 14:19:06 +00:00
CommandSet.h tools/skui: put all enums in a common namespace 2019-08-29 15:39:32 +00:00
DawnWindowContext.cpp Add Context factories to GrDirectContext 2020-07-14 12:40:46 +00:00
DawnWindowContext.h Update the sk_app WindowContext to hold a GrDirectContext 2020-07-10 18:27:03 +00:00
DisplayParams.h Hide binaryArchive use in Viewer behind a flag. 2020-11-25 17:27:47 +00:00
GLWindowContext.cpp Rename GrContextPriv to GrDirectContextPriv 2020-10-14 16:46:01 +00:00
GLWindowContext.h Update the sk_app WindowContext to hold a GrDirectContext 2020-07-10 18:27:03 +00:00
MetalWindowContext.h Add MTLBinaryArchive support to iOS Metal build 2020-11-19 20:00:30 +00:00
MetalWindowContext.mm Deprecate Metal support on iOS 9. 2020-12-03 21:11:28 +00:00
RasterWindowContext.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
VulkanWindowContext.cpp VulkanWindowContext uses sample-able swap VkImages when available. 2020-10-09 21:53:43 +00:00
VulkanWindowContext.h VulkanWindowContext uses sample-able swap VkImages when available. 2020-10-09 21:53:43 +00:00
Window.cpp Add activation events to sk_app. 2020-11-16 16:44:08 +00:00
Window.h Revert "Fix crash on windows viewer when starting in vulkan." 2020-12-16 14:52:07 +00:00
WindowContext.cpp Update the sk_app WindowContext to hold a GrDirectContext 2020-07-10 18:27:03 +00:00
WindowContext.h Add activation events to sk_app. 2020-11-16 16:44:08 +00:00