#include #include void user_cleanup(struct pcb *pcb) { if (pcb == NULL) return; mem_ctx_free(pcb->memctx); pcb->memctx = NULL; }