Fix memory leak when a child exits without wait()-ed
Change-Id: I8ad9e20e3f3e6f406548a6c4de2bf4dc07c40b0e Refs: #1349
This commit is contained in:
committed by
Masamichi Takagi
parent
1d1ec39a27
commit
b3cbdeec84
10
test/issues/1349/Makefile
Normal file
10
test/issues/1349/Makefile
Normal file
@ -0,0 +1,10 @@
|
||||
# Makefile COPYRIGHT FUJITSU LIMITED 2020
|
||||
CC?=gcc
|
||||
LDFLAGS=-lpthread
|
||||
CFLAGS=-Wall -O0 -ggdb3
|
||||
|
||||
all: do_fork6
|
||||
do_fork6: do_fork6.o
|
||||
do_fork6.o: do_fork6.c
|
||||
clean:
|
||||
rm -f do_fork6.o do_fork6
|
||||
Reference in New Issue
Block a user