×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Mar 2010
    Posts
    78

    Post Freeing the memory space in Qt for symbian

    Hi,

    After creating an object when i delete the obet which is being created..the memory space is not freed up.Can you please help me


    Code:
            SecondPage    *secondpage= new     SecondPage ;
           secondpage->show();
           delete secondpage
    ;


    Thanks and Regards
    Anamika

  2. #2
    Nokia Developer Champion
    Join Date
    Nov 2009
    Location
    Minnesota, USA
    Posts
    3,209

    Re: Freeing the memory space in Qt for symbian

    How do you know the memory isn't getting freed?

  3. #3
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: Freeing the memory space in Qt for symbian

    1 reason might be you are not deleting all allocated variables in side you class SecondPage

Similar Threads

  1. Replies: 1
    Last Post: 2010-11-30, 18:17
  2. How to manage memory in the Qt for Symbian
    By qsun06 in forum [Archived] Qt General ( Qt技术)
    Replies: 2
    Last Post: 2010-04-29, 07:08
  3. Freeing memory in HBuf array
    By Chimpanzee in forum Symbian
    Replies: 0
    Last Post: 2003-08-29, 02:45

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •