Changed _delete functions names into _free to be more in line with GLib conventions.