#include <stdio.h>
#include <stdlib.h>

int main(int argc, char **argv) {

    char *ptr1 = malloc(sizeof(char));
    int *ptr2 = malloc(sizeof(int));
    char *ptr3 = malloc(sizeof(char));
    int *ptr4 = malloc(sizeof(int));

    free(ptr1);
    free(ptr2);

    if (argc > 1) {

        char *ptr5 = malloc(sizeof(char));
        int *ptr6 = malloc(sizeof(int));

        free(ptr6);

        fprintf(stderr, "testing 1\n");

    }

    fprintf(stderr, "testing 2\n");

    return 0;

}