loader: Set pointer to NULL
authorMark Young <marky@lunarg.com>
Thu, 9 Mar 2017 21:17:40 +0000 (14:17 -0700)
committerMark Young <marky@lunarg.com>
Thu, 9 Mar 2017 21:31:21 +0000 (14:31 -0700)
commit71a49498e88ccaaba77e230639bee9785c267f76
treea016f4ddbf473708560b96c4311679b1123e2c5d
parent742cc626170d190523ee177d1f5fcfb8890255bd
loader: Set pointer to NULL

Cleanup enabled extension array pointer passed down to driver.
If the loader overrode the create info struct, the pointer
could be garbage if the enabled extension count was 0.  Now,
make sure it is NULL.

Change-Id: I558d768e786892e7afc44f58b4173a2b8db3deee
loader/loader.c