[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 1/2] memory leak in espeak
From: |
Christopher Brannon |
Subject: |
[PATCH 1/2] memory leak in espeak |
Date: |
Wed, 03 Nov 2010 08:38:05 +0000 |
Jos? Vilmar Est?cio de Souza <vilmar at informal.com.br> writes:
> The function module_init declares and allocates a string called info
> that is only used and released if the macro ABORT is called.
> This patch moves the allocation of the string to the macro abort.
Hi Jose,
Can we get rid of the macro entirely? Macros which operate on local
variables are dangerous, IMHO. module_init should probably be refactored.
Let me take a look. Or you can, if you like.
-- Chris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL:
<http://lists.freebsoft.org/pipermail/speechd/attachments/20101103/afb27ef7/attachment.pgp>