]> git.lizzy.rs Git - rust.git/commit
Fix calling destructor on uninitialized dynamic library crash.
authorSteven Stewart-Gallus <sstewartgallus00@mylangara.bc.ca>
Thu, 1 Aug 2013 21:58:37 +0000 (14:58 -0700)
committerSteven Stewart-Gallus <sstewartgallus00@mylangara.bc.ca>
Fri, 2 Aug 2013 06:41:33 +0000 (23:41 -0700)
commit2047026fefa38773ecdb046998a65ca1e1dc9cef
tree28368ba95aac0063582e58b6b9e8144284651607
parent82b24559e6aa0914f8a49e0a9dbfb3cf35372515
Fix calling destructor on uninitialized dynamic library crash.

A test case was also created for this situation to prevent the problem
occuring again.

A similar problem was also fixed for the symbol method.

There was some minor code cleanup.
src/libstd/unstable/dynamic_lib.rs