# HG changeset patch # User Matti Hamalainen # Date 1188615694 -10800 # Node ID b63e772ee21d76694e13f29e9773064cbfd57031 # Parent a8436c6e37536aeb70adeb461278748f255c6aed Useless use of if() with g_free(). diff -r a8436c6e3753 -r b63e772ee21d src/xspf/xspf.c --- a/src/xspf/xspf.c Sat Sep 01 05:23:31 2007 +0300 +++ b/src/xspf/xspf.c Sat Sep 01 06:01:34 2007 +0300 @@ -328,7 +328,7 @@ if (title && *title) { gchar *old = plist->title; plist->title = g_strdup((gchar*)title); - if(old) g_free(old); + g_free(old); } xmlFree(title); }