net: macsec: move sci_to_cpu to macsec header
[linux-2.6-microblaze.git] / drivers / acpi / utils.c
index 28c7524..62944e3 100644 (file)
@@ -399,13 +399,13 @@ acpi_evaluate_reference(acpi_handle handle,
                acpi_handle_debug(list->handles[i], "Found in reference list\n");
        }
 
-end:
        if (ACPI_FAILURE(status)) {
                list->count = 0;
                kfree(list->handles);
                list->handles = NULL;
        }
 
+end:
        kfree(buffer.pointer);
 
        return status;