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;
 }