[<<] [<] Page 1 of 1 [>] [>>] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
about QueueEvent
From: ####@####.#### Date: 24 Dec 2001 03:17:01 -0000 Message-Id: <008c01c18c29$9da07150$2b64a8c0@rdcenter.com> Hi,in QueueEvent has the code as followed: elp = malloc(sizeof(EVENT_LIST)); but I don't find where to free the memory ? Thanks a lot! | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [nanogui] about QueueEvent
From: "Greg Haerr" ####@####.#### Date: 24 Dec 2001 16:34:35 -0000 Message-Id: <045f01c18c98$70858240$3aba46a6@xmission.com> : Hi,in QueueEvent has the code as followed: : elp = malloc(sizeof(EVENT_LIST)); : but I don't find where to free the memory ? Hmmm... Another memory leak it seems... I suggest a free() in GetNextQueuedEvent as well as GrPeekEvent and GrPeekWaitEvent. Regards, Greg | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[<<] [<] Page 1 of 1 [>] [>>] |