r2034
dslinux_amadeus at dslinux.in-berlin.de
dslinux_amadeus at dslinux.in-berlin.de
Wed Nov 7 21:56:04 CET 2007
Author: amadeus
Date: 2007-11-07 21:55:58 +0100 (Wed, 07 Nov 2007)
New Revision: 2034
Log:
remove memory leak
Modified: trunk/user/microwin/src/nanox/srvnet.c
===================================================================
--- trunk/user/microwin/src/nanox/srvnet.c 2007-11-03 17:10:44 UTC (rev 2033)
+++ trunk/user/microwin/src/nanox/srvnet.c 2007-11-07 20:55:58 UTC (rev 2034)
@@ -2133,7 +2133,7 @@
if ( client->shm_cmds != 0 ) {
/* Free shared memory */
#if NDSDRIVER
- /* do nothing for now */
+ free((void *)client->shm_cmds_shmid);
#else
shmctl(client->shm_cmds_shmid,IPC_RMID,0);
shmdt(client->shm_cmds);
More information about the dslinux-commit
mailing list