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

Re: [PATCH rhel6-branch] Generate connection UUID in inital ifcfg files created by anaconda (#705328)



On Thu, Feb 16, 2012 at 08:46:59AM +0100, Radek Vykydal wrote:
> On 02/15/2012 07:35 PM, David Cantrell wrote:
> >Ack with one minor nit.  If you're going to use a char *, use free().  If
> >you are going to use g_free(), use a gchar *.  Yes, glib falls through to
> >free() for now, but there's nothing that says it has to.  The APIs are
> >separate for a reason.  glib could up and change to a new allocator at
> >some point and that would be an unwelcome surprise.
> 
> nm-utils library reference says use g_free():
> http://developer.gnome.org/libnm-util/unstable/libnm-util-nm-utils.html#nm-utils-uuid-generate

Yeah, alright.

-- 
David Cantrell <dcantrell redhat com>
Supervisor, Installer Engineering Team
Red Hat, Inc. | Westford, MA | EST5EDT


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