>>865
>>855が言いたいことは、
a = malloc(100);
b = malloc(100);
if (a || b) {
 if (a) free(100);
 if (b) free(100);
}
こうじゃないの? って言いたいんだと思うけど、違うの?