Index: /trunk/include/VBox/vd-ifs.h
===================================================================
--- /trunk/include/VBox/vd-ifs.h	(revision 79742)
+++ /trunk/include/VBox/vd-ifs.h	(revision 79743)
@@ -1148,12 +1148,13 @@
  * @param   pszName     Name of property
  * @param   pszValue    String value to assign to property
- */
-
-DECLINLINE(int) VDCFGUpdateU64(PVDINTERFACECONFIG pCfgIf, bool fCreate, const char *pszName, uint64_t u64)
-{
-     char *pszValue;
-     RTStrAPrintf(&pszValue, "%ul", u64);
-     int rc = VDCFGUpdate(pCfgIf, fCreate, pszName, pszValue);
-     RTMemFree(pszValue);
+ * @param   u64Value    64-bit unsigned value to save with property.
+ */
+
+DECLINLINE(int) VDCFGUpdateU64(PVDINTERFACECONFIG pCfgIf, bool fCreate, const char *pszName, uint64_t u64Value)
+{
+     int rc = 0;
+     char pszValue[11];
+     (void) RTStrPrintf(pszValue, sizeof(pszValue), "%ul", u64Value);
+     rc = VDCFGUpdate(pCfgIf, fCreate, pszName, pszValue);
      return rc;
 }
