[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Some memory reallocation. - errata



hi all,
	one thing i forgot to mention , this is in kernel mode. My code is in
kernel mode , so do inform accordingly.
> 
> Hi all,
>         I have a situation where I have allocated a memory chunk to request
> some data. Ultimately, I end up getting much lesser data than I had
> requested for. Now I want to just retain the got data and free the
> unused chunk from my earlier allocated chunk. How do I go about doing
> this?
>         Any pointer or suggestion are welcome.
>         TIA
> bye
> ketan

-- 
|------------------------------------------------------------|
|It is better to keep your mouth shut and be thought a fool, |
|            than to open it and remove all doubt.	     |
|------------------------------------------------------------|
|Ketan Mehta | Wipro | Bangalore | Ph 91-80-5722296/93-5240  |
|ketan.mehta@xxxxxxxxx | ketan_kmehta@xxxxxxxxxxxx (personal)|
|------------------------------------------------------------|