qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 26/37] sd: free timer


From: Marc-André Lureau
Subject: Re: [Qemu-devel] [PATCH 26/37] sd: free timer
Date: Thu, 21 Jul 2016 21:17:58 +0400

Hi

On Thu, Jul 21, 2016 at 8:53 PM, Andrew Baumann
<address@hidden> wrote:
> Thanks for the fix. This was based on some other timer code I found in the 
> tree that was evidently also leaky (I don't remember where unfortunately).
>
> One thing: are you sure it is safe to call timer_del() again if the timer may 
> already have been deleted? It looks that way from the implementation, but the 
> header comment isn't explicit.

Yes, it is safe, afaik, it's removing it from the list of active timers.

> Otherwise,
> Reviewed-by: Andrew Baumann <address@hidden>

thanks



-- 
Marc-André Lureau



reply via email to

[Prev in Thread] Current Thread [Next in Thread]