Re: CE5.0 SD bus driver of SD V2.0 has memory leakage by Ocean
Ocean
Sun Nov 04 18:04:00 PST 2007
I make changes to the SD Bus driver.
And the problem solve, it is due to
1. CSDSlot::RemoveAllDevice() does not free up the CSDDevice object in
sdbus.cpp.
2. m_SDCardInfo.SDIOInformation.pFunctionInformation in sddevice.cpp does
not free up.
"voidcoder" wrote:
>
> I believe the memory leak is in your SDHC driver,
> or more likely within your wireless driver and
> not SDBus itself. Does it happen if you try
> something else, say SD Memory?
>
> --
> Oleg
>
>
> Ocean wrote:
> > The bug is found during the development of a CE5.0 device with SDIO Wifi in
> > the following folder:
> > C:\WINCE500\PUBLIC\COMMON\OAK\DRIVERS\SDCARD\SDBUS
> >
> > Such that the SDIO Wifi is implemented to have SD card insert / removal
> > events for activiate / deactivate the Wifi.
> >
> > Everytime SD card insert and removal events executed, the device lost 1.7KB
> > memory.
>