Re: heap memory among shared libraries
Re: heap memory among shared libraries
- Subject: Re: heap memory among shared libraries
- From: Ondra Cada <email@hidden>
- Date: Wed, 26 Sep 2001 11:08:06 +0200
Jeff,
>
>>>>> Jeff Howe (JH) wrote at Tue, 25 Sep 2001 17:32:32 -0400:
JH> If I have two shared libraries, say, two frameworks used in
JH> the same application, is it safe to malloc (or new) an object
JH> in one framework, and free (or delete) it in the other one?
It is. There's just one heap, regardless which piece of code uses it.
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc