aboutsummaryrefslogtreecommitdiff
path: root/layers/device_limits.cpp
diff options
context:
space:
mode:
authorCourtney Goeltzenleuchter <courtneygo@google.com>2015-12-09 12:26:34 -0700
committerJon Ashburn <jon@lunarg.com>2015-12-17 11:20:07 -0700
commitb1c118f19f066052cc5e53ed6770777e01dd1aab (patch)
tree2e64ae64b394f0f15b729a3c175ecbb24c55a3bf /layers/device_limits.cpp
parent43b34d53611f139021c063fe2fa098f30bdbb6cb (diff)
downloadusermoji-b1c118f19f066052cc5e53ed6770777e01dd1aab.tar.xz
loader: save memory pointer before it's lost
The first time a library is loaded the code will allocate space for the list. But if the dlopen fails the pointer for that wasn't being saved and the next call would get a segfault on a null pointer. Now save the new pointer so it doesn't get lost.
Diffstat (limited to 'layers/device_limits.cpp')
0 files changed, 0 insertions, 0 deletions