|
|
Choosing A Webhost: |
Question on memory allocation / deallocation for AXIS_MALLOC: msg#00177apache.webservices.axis-c.user
Hi
I have a question on memory allocation and deallocation:
Suppose in my service function, I have created an object of a particular type (for ex: adb_pInterchange_t* myInt = adb_pInterchange_create(env);)
This particular function uses AXIS_MALLOC to allocate memory for that particular object.
_pInterchange = (adb_pInterchange_t *) AXIS2_MALLOC(env->allocator, sizeof(adb_pInterchange_t));
After returning this as the soap response message, how will memory be deallocated? Is it taken care of automatically ? Or since we create this object inside the service function to fill the business logic, should we deallocate it manually ? If so, where exactly should we deallocate this memory?
Please clarify.
Thanks
Sathya
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Question on user defined faults and multithreading, Sathya Raghunathan |
|---|---|
| Next by Date: | Re: Question on memory allocation / deallocation for AXIS_MALLOC, Sathya Raghunathan |
| Previous by Thread: | Question on user defined faults and multithreading, Sathya Raghunathan |
| Next by Thread: | Re: Question on memory allocation / deallocation for AXIS_MALLOC, Sathya Raghunathan |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |