All About Symbian Forums

All About Symbian Forums (http://www.allaboutsymbian.com/forum/index.php)
-   Nokia N80 (http://www.allaboutsymbian.com/forum/forumdisplay.php?f=84)
-   -   memory leak (http://www.allaboutsymbian.com/forum/showthread.php?t=96626)

super_juanjo 06-10-2010 10:27 AM

memory leak
 
Hi
first of all, sorry if this is not the right place to post about memory issues
I am developing an app for the N8 and I am having memory leaks

I read somewhere about the macros
__UHEAP_MARK and __UHEAP_MARKEND

however, I am doing the following (to test how these macros work):


void doSomething()
{
int* array = new int[1000];
//I dont free the memory
}

in the main program:
{
__UHEAP_MARK;

doSomething();

__UHEAP_MARKEND;
}

and when I run it in debug mode, I am expecting to get a panic message, but I dont get anything...

Does anybody know if I am missing something?

Thanks


All times are GMT. The time now is 11:05 PM.

Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.