OSDN Git Service

Fix memory leak issue in open_display func
authorLim Siew Hoon <siew.hoon.lim@intel.com>
Fri, 1 Jul 2016 05:29:08 +0000 (13:29 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Fri, 22 Jul 2016 08:13:20 +0000 (16:13 +0800)
commit5b185d937f354c462ddfe3dd754f7337dc6538c4
tree495338d86a867044032bc7cb6442ed1ae9ef23fc
parentde8e9edcf110355d7733f970ff0205e4970465fb
Fix memory leak issue in open_display func

If the !d->display is true, will exit without free memory
block allocate for 'd'.

Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com>
test/putsurface/putsurface_wayland.c