Commit 5a5b80f9 authored by Javed Hasan's avatar Javed Hasan Committed by Martin K. Petersen
Browse files

scsi: libfc: Fix for double free()

parent ea403fde
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -634,8 +634,6 @@ static void fc_disc_gpn_id_resp(struct fc_seq *sp, struct fc_frame *fp,
	fc_frame_free(fp);
out:
	kref_put(&rdata->kref, fc_rport_destroy);
	if (!IS_ERR(fp))
		fc_frame_free(fp);
}

/**