Remove mgu_free_list() and mgu_free_dlist()
[claws.git] / src / addrindex.c
index dff2c934dcd3ed1d0878db91a01f988556fb544f..d44924c11ae790f0d784384395252a5b1a91be98 100644 (file)
@@ -1295,7 +1295,7 @@ static void addrindex_parse_ldap_attrlist( XMLFile *file, LdapControl *ctl ) {
                rc = xml_parse_next_tag( file );
                if( rc != 0 ) {
                        /* Terminate prematurely */
-                       mgu_free_dlist( list );
+                       g_list_free_full( list, g_free );
                        list = NULL;
                        return;
                }