OSDN Git Service

Fix ref count.
authorMichael Lentine <mlentine@google.com>
Wed, 20 Jan 2016 17:25:28 +0000 (11:25 -0600)
committerJesse Hall <jessehall@google.com>
Mon, 25 Jan 2016 21:49:31 +0000 (13:49 -0800)
commit54e6f086a6b373a0f496343451a76dde8aa86238
treec9ec88e2f7601c6bdd1f505e8ed113bdabb2ada1
parentd0b7cb566288a4f6646e356a17188b7922ba5740
Fix ref count.

Modify the move constructor to zero out the other pointer so that it doesn't
get decremented when the ref goes out of scope.

Change-Id: Ieb81c64b760dc69e262a76335039c9c7f9050780
(cherry picked from commit 22440b22bbce1fe7b5411e6641156661e25a2865)
vulkan/libvulkan/layers_extensions.cpp