summaryrefslogtreecommitdiff
path: root/HeapLAB/.src/demo_unsortedbin.c
blob: 1bfcc9e307012a93eded69617ae0a0bde43bb3ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <stdlib.h>

int main(int argc, char* argv[]) {
    void* a = malloc(0x88);
    void* b = malloc(0x88);

    free(b);

    b = malloc(0x88);
    malloc(0x18);

    free(a);
    free(b);

    return 0;
}