commit | e5536384f2ed6f9773be71c54c73652411390dcb | [log] [tgz] |
---|---|---|
author | Xo Wang <xow@google.com> | Thu Jul 20 20:14:00 2017 -0700 |
committer | Xo Wang <xow@google.com> | Thu Jul 20 21:00:19 2017 -0700 |
tree | 0eaf7ed27cc142e5a27153052c8a52ae71ef31b7 | |
parent | a944d432b2b6a7dad267d4f049741f126a49a83b [diff] [blame] |
apphandler: Fix version string leak in ipmi_app_get_device_id Signed-off-by: Xo Wang <xow@google.com> Change-Id: If64a9897f29e5d8dd267afdd2507b3165114bd98
diff --git a/apphandler.cpp b/apphandler.cpp index 28a3c65..6759462 100644 --- a/apphandler.cpp +++ b/apphandler.cpp
@@ -185,6 +185,7 @@ memcpy(response, &dev_id, *data_len); finish: free(busname); + free(ver); return rc; }