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

Re: [PATCH] Free memory in correct fail path


  • To: win-pv-devel@xxxxxxxxxxxxxxxxxxxx
  • From: Paul Durrant <xadimgnik@xxxxxxxxx>
  • Date: Tue, 14 Feb 2023 17:08:47 +0000
  • Delivery-date: Tue, 14 Feb 2023 17:08:51 +0000
  • List-id: Developer list for the Windows PV Drivers subproject <win-pv-devel.lists.xenproject.org>

On 30/01/2023 14:54, Owen Smith wrote:
SDV identifies this as an error. Only attempt to free the buffer after the
allocation succeeds.

Signed-off-by: Matthew Sykes <matthew.sykes@xxxxxxxxxx>
Signed-off-by: Owen Smith <owen.smith@xxxxxxxxxx>
---
  src/xenvbd/base64.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)


Acked-by: Paul Durrant <paul@xxxxxxx>




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.