[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

memory allocation clarification

From: Chris Brannon
Subject: memory allocation clarification
Date: Sat, 20 Feb 2010 09:58:16 -0600

Jose Vilmar Estacio de Souza wrote:
> The example you gave in src/modules/module_utils.c was what caught my 
> attention.
> I was investigating a problem with the sd_ibmtts and I came across this 
> situation.

Hi Jose,
Yes, I noticed your comment about that in IRC yesterday.

> What I did as an experiment, was to replace in the routines xmalloc and 
> xfree the calls malloc and free for g_malloc and g_free.

Great!  Do you have a patch?
The modules which use functions from module_utils.c also need to change,
and I can do that.

> Are you trying to fix these problems?

I am.

> BTW, the problem that I am facing with sd_ibmtts, is that sometimes it 
> receives a SIGSEGV. The problem happens in different routines.

Can you tell me what those routines are?

-- Chris

reply via email to

[Prev in Thread] Current Thread [Next in Thread]