Prev: [PATCH 10/25] scsi/sg: remove casts from void*
Next: [PATCH v4 2/6] KVM: MMU: introduce gfn_to_page_many_atomic() function
From: Matthew Garrett on 1 Jul 2010 10:00 On Tue, Jun 29, 2010 at 11:09:47AM +0800, Axel Lin wrote: > The callers of write_acpi_int_ret() pass ACPI_ALLOCATE_BUFFER, > the caller must kfree the returned buffer if AE_OK is returned. > > This patch adds a missing kfree(buffer.pointer) before return -ENOMEM > if kstrdup fail. Applied, thanks. -- Matthew Garrett | mjg59(a)srcf.ucam.org -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |