Check for null before freeing X11info, removed free current resource

This commit is contained in:
James Booth
2014-06-24 22:23:53 +01:00
parent c3847eec34
commit 83fc97621c
2 changed files with 3 additions and 2 deletions

View File

@@ -241,7 +241,6 @@ _get_most_available_resource(PContact contact)
resources = g_list_next(resources);
}
free(resources);
free(current);
return highest;
}