Skip to content

Instantly share code, notes, and snippets.

@CodeSandwich
Created March 26, 2018 12:37
Show Gist options
  • Save CodeSandwich/3ca397135e898e82fdc62728340cb024 to your computer and use it in GitHub Desktop.
Save CodeSandwich/3ca397135e898e82fdc62728340cb024 to your computer and use it in GitHub Desktop.
main {
A = allocate() // acquire
do_stuff(A) // use
// <RUN TIME FAIL> never release
// delete pointer
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment