Skip to content

Commit

Permalink
hw/acpi/aml-build: Fix memory leak
Browse files Browse the repository at this point in the history
Signed-off-by: Shannon Zhao <zhaoshenglong@huawei.com>
Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
  • Loading branch information
shannonz88 authored and mstsirkin committed Jun 1, 2015
1 parent 68e6b0a commit afcf905
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hw/acpi/aml-build.c
Expand Up @@ -296,6 +296,7 @@ static void aml_free(gpointer data, gpointer user_data)
{
Aml *var = data;
build_free_array(var->buf);
g_free(var);
}

Aml *init_aml_allocator(void)
Expand Down

0 comments on commit afcf905

Please sign in to comment.