Index: /trunk/src/VBox/Runtime/common/rest/RTCRestClientApiBase.cpp
===================================================================
--- /trunk/src/VBox/Runtime/common/rest/RTCRestClientApiBase.cpp	(revision 78280)
+++ /trunk/src/VBox/Runtime/common/rest/RTCRestClientApiBase.cpp	(revision 78281)
@@ -281,9 +281,7 @@
                                  */
                                 a_pResponse->receiveComplete(uHttpStatus, hHttp);
+                                a_pResponse->consumeBody((const char *)pvBody, cbBody);
                                 if (pvBody)
-                                {
-                                    a_pResponse->consumeBody((const char *)pvBody, cbBody);
                                     RTHttpFreeResponse(pvBody);
-                                }
                                 a_pResponse->receiveFinal();
 
