[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Convert src/modules to use GLib memory management exclusively.
From: |
Trevor Saunders |
Subject: |
[PATCH] Convert src/modules to use GLib memory management exclusively. |
Date: |
Fri, 24 Sep 2010 16:21:53 -0400 |
Hi,
> Those are good. Thanks! More patches are on the way: audio subsystem,
> common library, and API.
hmm, I'm not sure how great an idea it is for libspeechd to be using
glib. Particularly I'm not convinced that all clients want to be exited
without being asked if memory can't be allocated.
Trev
>
> > we have
> > spd_fdset_copy(TFDSetElement old)
> > TFDSetElement new;
> > ...
> > return new;
> >
> > where new is a function's local struct.
>
> This is perfectly legit. The struct is returned by value. It is
> copied. Thus, we aren't returning data that has gone out of scope.
>
> -- Chris
> _______________________________________________
> Speechd mailing list
> Speechd at lists.freebsoft.org
> http://lists.freebsoft.org/mailman/listinfo/speechd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL:
<http://lists.freebsoft.org/pipermail/speechd/attachments/20100924/b83129c6/attachment.pgp>
- [PATCH] Convert src/modules to use GLib memory management exclusively., Christopher Brannon, 2010/09/23
- [PATCH] Convert src/modules to use GLib memory management exclusively., Andrei Kholodnyi, 2010/09/24
- [PATCH] Convert src/modules to use GLib memory management exclusively., Christopher Brannon, 2010/09/24
- [PATCH] Convert src/modules to use GLib memory management exclusively., Andrei Kholodnyi, 2010/09/24
- [PATCH] Convert src/modules to use GLib memory management exclusively., Christopher Brannon, 2010/09/24
- [PATCH] Convert src/modules to use GLib memory management exclusively., Andrei Kholodnyi, 2010/09/24
- [PATCH] Convert src/modules to use GLib memory management exclusively., Andrei Kholodnyi, 2010/09/28
- [PATCH] Convert src/modules to use GLib memory management exclusively., Boris Dusek, 2010/09/28
- [PATCH] Convert src/modules to use GLib memory management exclusively., Christopher Brannon, 2010/09/28
- [PATCH] Convert src/modules to use GLib memory management exclusively.,
Trevor Saunders <=
- [PATCH] Convert src/modules to use GLib memory management exclusively., Christopher Brannon, 2010/09/24
- [PATCH] Convert src/modules to use GLib memory management exclusively., Andrei Kholodnyi, 2010/09/24