commit | 65e31cc6d1ce20a372da2fc83e03fa99c85e9bcf | [log] [tgz] |
---|---|---|
author | Courtney Goeltzenleuchter <courtneygo@google.com> | Wed Dec 09 12:26:34 2015 -0700 |
committer | Jon Ashburn <jon@lunarg.com> | Thu Dec 17 11:20:07 2015 -0700 |
tree | 6e518820d964bea60c990d11103a06edb2dc3027 | |
parent | f725d22b12a665b95676a8507647d370ee9e1bdd [diff] |
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.