7e7c9f
From 20fb5227cd981c5eb188a6ad738672486e40a50e Mon Sep 17 00:00:00 2001
7e7c9f
From: David Tardon <dtardon@redhat.com>
7e7c9f
Date: Mon, 11 May 2020 13:34:24 +0200
7e7c9f
Subject: [PATCH] avoid double free
7e7c9f
7e7c9f
This was a mis-merge in the fix for #1809053 (commit
7e7c9f
f99cc28e392874b317b4ff2054bbd6970f71ecdd).
7e7c9f
7e7c9f
Resolves: #1832816
7e7c9f
---
7e7c9f
 src/udev/udev-builtin-path_id.c | 2 +-
7e7c9f
 1 file changed, 1 insertion(+), 1 deletion(-)
7e7c9f
7e7c9f
diff --git a/src/udev/udev-builtin-path_id.c b/src/udev/udev-builtin-path_id.c
7e7c9f
index b0bcd80571..1db403b39c 100644
7e7c9f
--- a/src/udev/udev-builtin-path_id.c
7e7c9f
+++ b/src/udev/udev-builtin-path_id.c
7e7c9f
@@ -428,7 +428,7 @@ static struct udev_device *handle_scsi_hyperv(struct udev_device *parent, char *
7e7c9f
         struct udev_device *hostdev;
7e7c9f
         struct udev_device *vmbusdev;
7e7c9f
         const char *guid_str;
7e7c9f
-        _cleanup_free_ char *lun = NULL;
7e7c9f
+        char *lun = NULL;
7e7c9f
         char guid[39];
7e7c9f
         size_t i, k;
7e7c9f