speechd-discuss
[Top][All Lists]
Advanced

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

[PATCH] Rework the do_list_voices function, and fix a memory leak.


From: Christopher Brannon
Subject: [PATCH] Rework the do_list_voices function, and fix a memory leak.
Date: Thu, 16 Sep 2010 16:04:24 -0500

William Hubbs <w.d.hubbs at gmail.com> writes:

> strdup() can return NULL, so I'm concerned about using it this way.
> What about using g_strdup?

That's a whole new can of worms.
I wrote a series of patches for OpenTTS, so that it used glib's
allocation functions wherever possible.
In my opinion, those should be imported into Speech Dispatcher.

-- 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/20100916/5ff4884a/attachment-0001.pgp>


reply via email to

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