|
| From: | Juan Quintela |
| Subject: | Re: [Qemu-devel] [PATCH 7/8] Don't abort on memory allocation error |
| Date: | Tue, 04 Feb 2014 21:07:20 +0100 |
| User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
"Dr. David Alan Gilbert" <address@hidden> wrote:
> * 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).
Error on my part, already Nacked and sent a new version.
Later, Juan.
| [Prev in Thread] | Current Thread | [Next in Thread] |