diff options
author | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-08-06 08:37:17 +0000 |
---|---|---|
committer | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-08-06 08:37:17 +0000 |
commit | 2137b4cca9af2ca22b527ef9f3835c532511453d (patch) | |
tree | b758c587161d84c6c2b535f2fdedc48039282170 /hw/blizzard.c | |
parent | bf6bca527c11dff117990acdeb8cb425e985788a (diff) | |
download | qemu-2137b4cca9af2ca22b527ef9f3835c532511453d.zip |
Add qemu_realloc(), by Gerd Hoffmann.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4986 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/blizzard.c')
-rw-r--r-- | hw/blizzard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/blizzard.c b/hw/blizzard.c index 37330e7f2e..4fb005e363 100644 --- a/hw/blizzard.c +++ b/hw/blizzard.c @@ -192,7 +192,7 @@ static int blizzard_transfer_setup(struct blizzard_s *s) s->data.len = s->bpp * s->data.dx * s->data.dy; s->data.pitch = s->data.dx; if (s->data.len > s->data.buflen) { - s->data.buf = realloc(s->data.buf, s->data.len); + s->data.buf = qemu_realloc(s->data.buf, s->data.len); s->data.buflen = s->data.len; } s->data.ptr = s->data.buf; |