hi Sorcery :
thx for your answer
actually the case is this:
use glib function g_hash_table_new()....
after in
GLDEF_C TInt E32main()
{
reutrn EikStart::RunApplication( NewApplication );
}
it will leak in the project,
so i test it in hello world GUI Project.
it is same.
Code:
class CA : public CBase, public MObserver
{
// any other code
.
.
public:
~CA();
private:
void ConstructL();
private:
GHashTable *map;
};
void CA::ConstructL()
{
map = g_hash_table_new(g_direct_hash, g_direct_equal);
// any other code
}
CA::~CA()
{
g_hash_table_destroy(map );
// any other code
}