Remove extra g_free and g_object_unref, which causes segmentation fault
Fix incorrect comments