[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [PATCH] s390: Fix buggy assignment
From: |
Alexander Graf |
Subject: |
[Qemu-devel] Re: [PATCH] s390: Fix buggy assignment |
Date: |
Mon, 14 Dec 2009 11:06:53 +0100 |
On 14.12.2009, at 10:39, Stefan Weil wrote:
> nd->model keeps dynamically allocated model names.
> So casting of a constant string is wrong here.
>
> Signed-off-by: Stefan Weil <address@hidden>
So we're wasting 7 bytes of strdup malloc'ed data we never free. Probably now
worth thinking about though.
Acked-by: Alexander Graf <address@hidden>