[Spice-devel] [spice-gtk PATCH v6 2/4] audio: spice-pulse implement async volume-info

Marc-André Lureau marcandre.lureau at gmail.com
Wed Apr 15 03:07:26 PDT 2015


On Tue, Apr 14, 2015 at 2:18 PM, Victor Toso <victortoso at redhat.com> wrote:

> +    if (p->playback.name)
> +        g_free(p->playback.name);
> +
> +    if (p->record.name)
> +        g_free(p->record.name);
> +
>

g_free() accepts NULL, no need for if


-- 
Marc-André Lureau
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20150415/1ba57ae0/attachment.html>


More information about the Spice-devel mailing list