Created
January 20, 2015 19:56
-
-
Save saolsen/5f8eb258f99c18ffa945 to your computer and use it in GitHub Desktop.
This file contains 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
#include <stdlib.h> | |
int main(int nargs, char * args[]) | |
{ | |
void* vp = malloc(sizeof(char) * 5); | |
const char* ip = (char*)(vp); | |
free(ip); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment