diff options
| author | Alan Cox <alc@FreeBSD.org> | 2006-03-16 08:51:59 +0000 |
|---|---|---|
| committer | Alan Cox <alc@FreeBSD.org> | 2006-03-16 08:51:59 +0000 |
| commit | 41634e2e8d2bf5ccad70d4a7e75e71a8729e7f69 (patch) | |
| tree | 7e4a935a6afb7a4ce05b6ea00beba982c75e79df | |
| parent | 945510a0391abe9494dd99479d2c8cfd93d72562 (diff) | |
Notes
| -rw-r--r-- | sys/kern/imgact_aout.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/kern/imgact_aout.c b/sys/kern/imgact_aout.c index 423a54dfce19..7f202d9fbdd1 100644 --- a/sys/kern/imgact_aout.c +++ b/sys/kern/imgact_aout.c @@ -220,6 +220,7 @@ exec_aout_imgact(imgp) MAP_COPY_ON_WRITE | MAP_PREFAULT); if (error) { vm_map_unlock(map); + vm_object_deallocate(object); return (error); } data_end = text_end + a_out->a_data; @@ -232,6 +233,7 @@ exec_aout_imgact(imgp) MAP_COPY_ON_WRITE | MAP_PREFAULT); if (error) { vm_map_unlock(map); + vm_object_deallocate(object); return (error); } } |
