Created
March 26, 2018 12:37
-
-
Save CodeSandwich/f773a23fdae2421048699be1b14f031d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
main { | |
A = allocate() // acquire | |
release(A) // release | |
do_stuff(A) // <RUN TIME FAIL> use invalid pointer | |
// delete pointer | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment