Correctly release resources in xdisplaycheck.

Fix a memory leak in xdisplaycheck that causes the LeakSanitizer bot to fail.

Patch by Sergey Matveev (earthdok@chromium.org)

BUG=NONE
R=sadrul@chromium.org

Review URL: https://codereview.chromium.org/18345020

Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6767903f48669ed860c7b0830400f469adbe556e
1 file changed
tree: 8f32888ef46241801ef723c1eb299390334e5e43
  1. xdisplaycheck.cc
  2. xdisplaycheck.gyp