diazepam,
@diazepam@clubcyberia.co avatar

@kirby you know you can just do

#include <stdlib.h>
static void free_(void** p) { free(*p); }
int main(void) {
  __attribute__((cleanup(free_))) int* n = malloc(sizeof *n);
  // do rest of your shit
}

and get it autofreed

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • Hentai
  • doujinshi
  • announcements
  • general
  • All magazines