Israel Lins Albuquerque escreveu:
> I can't understand how this work somebody can help me?
> Show me a example!
>
> Regards,
>
>   
I understand now see the exemple:
But I fink that option does not make sense to be configurated, this can 
always on!!!

#include <stdlib.h>
#include <stdio.h>

int* g = NULL;

int main() {
    int* x = (int*)malloc(sizeof(int) * 100); // un-reachable

    g = (int*)malloc(sizeof(int) * 100); // un-reachable
    g = (int*)malloc(sizeof(int) * 100); // reachable

    return 0;
}

-- 
Israel Lins Albuquerque
Desenvolvimento
Polibrás Brasil Software Ltda.



------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to