Revert "Fix coverity issue" 67/225067/1
authorHyotaek Shim <hyotaek.shim@samsung.com>
Mon, 17 Feb 2020 06:28:39 +0000 (06:28 +0000)
committerHyotaek Shim <hyotaek.shim@samsung.com>
Mon, 17 Feb 2020 06:28:39 +0000 (06:28 +0000)
This reverts commit 74fcdd2aa28ea28cd6c91a26673d859fcbad7ebf.

Change-Id: I1f0d89cedddb2f67be79b63117a972bb04fd9c77

hw/board/board.c

index 4f73ea7..3c6b42d 100644 (file)
@@ -45,7 +45,6 @@ static int get_device_serial(char **out)
        }
 
        *out = p;
-       free(line);
        return 0;
 }