Created
January 18, 2015 19:39
-
-
Save copy/84a352bbd0ec1c37b223 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 <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
int | |
main(void) | |
{ | |
for (;;) { | |
void *x = malloc(4 * 1024); | |
if (x == NULL) { | |
break; | |
} | |
memset(x, 0, 4 * 1024); | |
} | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment