Follow-up Comment #1, bug #62615 (project make):

Paul, can you please ignore this patch?
This bug report is correct, there is a memory leak.
But the patch is not correct. The patch fails to take into account a case when
multiple targets are defined on the same rule. Correctly taking care of
freeing commands in cases like

bye.o hello.o: hello.h; $(info 1 $@ from $^)
hello.o: hello.c; $(info 2 $@ from $^)

requires additional bookkeeping, like reference counters or similar. This
patch does not do any of that. 


Reply to this item at:


Message sent via Savannah

Reply via email to