From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Wen Guangcheng" Subject: Newbie question on malloc() Date: Wed, 2 Jun 2004 20:48:07 +0900 Sender: linux-c-programming-owner@vger.kernel.org Message-ID: <002d01c44897$78ae58d0$de01a8c0@qnessmphibiki> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: List-Id: Content-Type: text/plain; charset="us-ascii" To: linux-c-programming@vger.kernel.org Hello Gurus, I have made a daemon in which dynamic memory is gotten by malloc(). Does the memory get free automatically without free() by the deamon when the daemon process is killed? Thanks in advance. --Wen