|
| From: | Dr. David Alan Gilbert |
| Subject: | Re: [Qemu-devel] [PATCH 7/8] Don't abort on memory allocation error |
| Date: | Tue, 4 Feb 2014 17:34:05 +0000 |
| User-agent: | Mutt/1.5.21 (2010-09-15) |
* Juan Quintela (address@hidden) wrote:
> From: Orit Wasserman <address@hidden>
> if (!it->it_data) {
> cache->num_items++;
> + it->it_data = g_try_malloc(cache->page_size);
> + if (!it->it_data) {
> + DPRINTF("Error allocating page\n");
> + return -1;
> + }
Hmm that wasn't the latest version of that patch (or the previous
one in the series).
Dave
--
Dr. David Alan Gilbert / address@hidden / Manchester, UK
| [Prev in Thread] | Current Thread | [Next in Thread] |