// multiple-free
|
|
|
|
#include <stdlib.h>
|
|
#include <stdio.h>
|
|
#include <assert.h>
|
|
|
|
int main() {
|
|
int *ptr = malloc(sizeof(*ptr));
|
|
assert(ptr);
|
|
free(ptr);
|
|
free(ptr);
|
|
return 0;
|
|
}
|