patch-2.3.4 linux/kernel/fork.c
Next file: linux/kernel/signal.c
Previous file: linux/include/net/tcp.h
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Wed May 26 11:15:36 1999
- Orig file:
v2.3.3/linux/kernel/fork.c
- Orig date:
Fri May 14 18:55:30 1999
diff -u --recursive --new-file v2.3.3/linux/kernel/fork.c linux/kernel/fork.c
@@ -390,7 +390,10 @@
return 0;
free_mm:
- mm->pgd = NULL;
+ tsk->mm = NULL;
+ release_segments(mm);
+ kmem_cache_free(mm_cachep, mm);
+ return retval;
free_pt:
tsk->mm = NULL;
mmput(mm);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)