[Top][All Lists]

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

memory allocation clarification

From: jose vilmar estacio de souza
Subject: memory allocation clarification
Date: Sat, 20 Feb 2010 17:22:27 -0200

On 02/20/2010 01:58 PM, Chris Brannon wrote:
> 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?
Yes, in attach to this message.
Basicly the patch tries to replace all class to malloc and free, for 
g_malloc and g_free. Some calls to strdup were replace for g_strdup.

> 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?
> Sorry, I didn't remember.

> -- Chris
> _______________________________________________
> Speechd mailing list
> Speechd at lists.freebsoft.org
> http://lists.freebsoft.org/mailman/listinfo/speechd

reply via email to

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