From: Julia Lawall Date: Wed, 29 Dec 2010 14:57:54 +0000 (+0100) Subject: [SCSI] gdth: Add missing call to gdth_ioctl_free X-Git-Tag: v2.6.38-rc1~466^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c10007560589a2335a77cbc92347b1474518296;p=pandora-kernel.git [SCSI] gdth: Add missing call to gdth_ioctl_free Add missing call to gdth_ioctl_free before aborting. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression buf,ha,len,addr,E; @@ buf = gdth_ioctl_alloc(ha, len, FALSE, &addr) ... when != false buf != NULL when != true buf == NULL when != \(E = buf\|buf = E\) when != gdth_ioctl_free(ha, len, buf, addr) *return ...; // Signed-off-by: Julia Lawall Signed-off-by: James Bottomley --- Reading git-diff-tree failed