memory leaks in cygheap

Egor Duda deo@logos-m.ru
Wed Sep 13 10:47:00 GMT 2000


Hi!

  running  "gcc -c *.c" in dir with lots of *.c files causes
api_fatal ("couldn't commit memory for cygwin heap")

looks  like  not  all  memory allocated on cygheap got freed. attached
patch fixes this.

Egor.            mailto:deo@logos-m.ru ICQ 5165414 FidoNet 2:5020/496.19
cygheap-leaks.diff
cygheap-leaks.ChangeLog

-------------- next part --------------
2000-09-13  Egor Duda  <deo@logos-m.ru>

	* child_info.h (child_info_spawn::~child_info_spawn): Avoid
	memory leaks in cygheap.
	* spawn.cc (spawn_guts): Ditto.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygheap-leaks.diff
Type: text/x-diff
Size: 1571 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20000913/da9793dc/attachment.bin>


More information about the Cygwin-patches mailing list