On Tue, Apr 14, 2015 at 2:18 PM, Victor Toso <victortoso@xxxxxxxxxx> 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
_______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel