On Thu, Sep 10, 2009 at 11:26 PM, mr_willem <[email protected]> wrote:

Nothing strikes me as obvious from a quick scan, but the first thing
I'd be trying is:

[...]
> int main (void) {
>        char * myip = malloc(16 * sizeof(char));

syslog(LOG_INFO, "%d:myip=%p\n", __LINE__, myip);

[...]
>        free(ip_buffer);
>        syslog(LOG_INFO, "Freed ip_buffer\n");
>        /* The code executes up to here */

syslog(LOG_INFO, "%d:myip=%p\n", __LINE__, myip);

>        free(myip);
>        syslog(LOG_INFO, "Tried to free myip\n");
>        closelog;
>        return 0;
> }

-- 
PJH

http://shabbleland.myminicity.com/
http://www.chavgangs.com/register.php?referer=9375
http://www.kongregate.com/?referrer=Shabble

Reply via email to