loader: Use secure_getenv only when necessary
authorMark Young <marky@lunarg.com>
Thu, 9 Mar 2017 18:39:41 +0000 (11:39 -0700)
committerMark Young <marky@lunarg.com>
Thu, 9 Mar 2017 18:43:03 +0000 (11:43 -0700)
commit742cc626170d190523ee177d1f5fcfb8890255bd
tree7cb1a87ec26fb3212c49e53f6ee4d36cd53f0c2f
parent016feb4b6bf4801e326e36702f66ad4f6a1c9d51
loader: Use secure_getenv only when necessary

secure_getenv should only be used on something that is security
sensitive.  Certain environment variable settings do not fall
into that category.  So, only use it when necessary.

Change-Id: Ib8b8dc1a1528a2f67f7cdc25051be078292ee19a
loader/loader.c